Koha/C4/Creators
Jonathan Druart aede6896dd
Bug 23289: Quote new 'rows' MariaDB reserved word
Since MariaDB 10.2.4 rows is a reserved word:
https://mariadb.com/kb/en/library/mariadb-1024-release-notes/

"""
New reserved word: ROWS. This can no longer be used as an identifier
without being quoted.
"""

Test plan:
With MariaDB >= 10.2.4, create a new label template.
Also, prove t/db_dependent/Labels/t_Template.t

Without this patch you will get the following SQL error: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rows, creator, template_code, page_height,

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-09-06 13:17:48 +01:00
..
Batch.pm Bug 15766: (follow-up) Hide description field if the batch is empty 2018-10-24 13:52:42 +00:00
Layout.pm Bug 22878: Do not pass layout_id on creating a layout 2019-05-15 12:10:52 +00:00
Lib.pm Bug 15766: Fix incorrect GROUP BY 2018-10-24 17:15:36 +00:00
PDF.pm
Profile.pm
Template.pm Bug 23289: Quote new 'rows' MariaDB reserved word 2019-09-06 13:17:48 +01:00