Main Koha release repository https://koha-community.org
Find a file
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
acqui Bug 23079: Handle invalid timezones when adding/subtracting durations 2019-09-06 13:17:47 +01:00
admin Bug 22786: Prevent fund creation for locked budgets 2019-09-06 13:17:47 +01:00
api/v1 Bug 14570: Make it possible to add multiple guarantors to a record 2019-08-20 16:04:48 +01:00
authorities
basket Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
C4 Bug 23289: Quote new 'rows' MariaDB reserved word 2019-09-06 13:17:48 +01:00
catalogue Bug 11529: (follow-up) Fix QA issues 2019-08-05 15:03:19 +01:00
cataloguing Bug 22830: correct for loop in value_builder/unimarc_field_4XX.pl value_builder 2019-08-16 11:42:54 +01:00
circ Bug 23273: Remove debug statement 2019-09-06 10:18:57 +01:00
clubs
course_reserves Bug 21003: Removed warning and changed wording on add_items-step2.tt 2019-03-23 09:51:36 +00:00
debian Bug 23345: Rename include-indexes to exclude-indexes in koha-dump 2019-07-26 16:23:03 +01:00
docs Bug 22128: Add Rudolf Byker to contributors 2019-06-28 14:34:05 +01:00
errors
etc Bug 20954: (QA follow-up) Rename syspref-overrides to syspref_overrides to maintain existing convention 2019-08-13 11:48:12 +01:00
ill Bug 21460: (follow-up) Fix bugs found in QA 2019-04-25 10:46:56 +00:00
installer Bug 22258: DBRev 19.06.023 2019-09-06 13:17:45 +01:00
Koha Bug 23079: Handle invalid timezones when adding/subtracting durations 2019-09-06 13:17:47 +01:00
koha-tmpl Bug 22786: Prevent fund creation for locked budgets 2019-09-06 13:17:47 +01:00
labels
members Bug 14570: Remove wrong parameter in add_guarantor call 2019-08-20 16:06:06 +01:00
misc Bug 14570: (follow-up) fix table name in j2a.pl 2019-08-20 16:05:08 +01:00
offline_circ Bug 22600: Add 'interface' to accountlines 2019-04-10 19:43:11 +00:00
opac Bug 23530: Fix cart showing only hidden items 2019-09-06 13:17:48 +01:00
OpenILS
patron_lists
patroncards
plugins Bug 21073: (QA follow-up) Avoid unnecessary unless/else construct 2019-06-18 17:30:44 +01:00
reports Bug 23390: (follow-up) Quote aliases 2019-08-13 11:46:35 +01:00
reserve Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
reviews
rotating_collections
serials Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
services
skel
suggestion Bug 22905: (QA follow-up) remove bad warn 2019-05-23 14:41:14 +00:00
svc Bug 23390: Introduce placeholder syntax for report column names 2019-08-13 11:46:06 +01:00
t Bug 23079: Add tests 2019-09-06 13:17:47 +01:00
tags Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
tmp/modified_authorities
tools Bug 14570: Make it possible to add multiple guarantors to a record 2019-08-20 16:04:48 +01:00
virtualshelves Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
xt
.editorconfig
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl Bug 14570: Add about.pl entry for wrong relationship data 2019-08-20 16:06:36 +01:00
changelanguage.pl
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 22258: DBRev 19.06.023 2019-09-06 13:17:45 +01:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL Bug 21626: (QA follow-up) Embed teams.yaml for debian packages 2019-05-17 14:46:10 +00:00
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo