Bug 21281: Surround creator_templates.rows with backquotes
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 29 Aug 2018 20:05:50 +0000 (17:05 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 26 Sep 2018 15:22:56 +0000 (15:22 +0000)
commit7de47202f2876892524c8b68de962c0776f32881
treebd4644e87e5dedc02392efec001f7786dd651740
parent8fa1bd72debea6e23020a93d5c30dd99d7ed1822
Bug 21281: Surround creator_templates.rows with backquotes

'rows' is a reserved word since MariaDB 10.2.4 and MySQL
https://mariadb.com/kb/en/library/mariadb-1024-release-notes/
https://dev.mysql.com/doc/refman/8.0/en/keywords.html

Test plan:
Do not apply this patch and make sure you recreate the reported issue
Apply this patch and confirm that it is now fixed.

QA will take care for the changes in installer and test files

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Creators/Lib.pm
installer/data/mysql/patroncards_upgrade.pl
t/db_dependent/Creators/Lib.t