[Koha-devel] New coding guidelines on adding a syspref (INSERTIGNORE)

Christopher Nighswonger chris.nighswonger at gmail.com
Tue Apr 7 17:53:07 CEST 2015


On Tue, Apr 7, 2015 at 11:33 AM, Mark Tompsett <mtompset at hotmail.com> wrote:

> Greetings,
>
> We have started the move to DBIx, which will grant us back-end portability
> eventually. Why would we use a mySQL-ism? Is there no nicer way to do this?
>

A long time ago, when I first opened this bug, I had hoped to code up a sub
which would handle the check to see if the pref existed or not. The thought
was to avoid the use of MySQLisms.

I would think that this is a quick-and-easy, have-it-today fix, with the
ultimate goal to be DB agnostic.

Kind regards,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20150407/2f174172/attachment.html>


More information about the Koha-devel mailing list