Main Koha release repository https://koha-community.org
Find a file
Kyle Hall 4628d2e81c
Bug 33183: Error inserting matchpoint_components when creating record matching rules with MariaDB 10.6
The word "offset" is now a keyword. At the very least we need to escape the fieldname with backticks.
It would be nice to switch to Koha::Objects for this module eventually.

C4::Matcher::_store_matchpoint(): DBI Exception: 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 'offset, length) VALUES ('27', '1', '999'...' at line 2 at /usr/share/koha/lib/C4/Matcher.pm
line 314

Test Plan:
1) Set up Koha with MariaDB 10.6
2) Attempt to create a matching rule
3) Note the error screen
4) Apply this patch
5) Restart all the things!
6) Attempt to create another matching rule
7) No errors this time

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-16 16:23:01 -03:00
acqui Bug 32705: Display the column if 1 order has an invoice price 2023-03-06 14:04:12 -03:00
admin Bug 32421: Add collection column to holds to pull 2023-03-14 09:06:14 -03:00
api Bug 32734: Add REST endpoint to list biblios 2023-03-13 15:12:04 -03:00
authorities
basket Bug 16522: (follow-up) MARC display templates and get_marc_host fixes 2023-01-30 12:10:11 -03:00
bin
C4 Bug 33183: Error inserting matchpoint_components when creating record matching rules with MariaDB 10.6 2023-03-16 16:23:01 -03:00
catalogue Bug 32585: (bug 32583 follow-up) Fix some variable references 2023-02-27 13:08:08 -03:00
cataloguing Bug 31028: (follow-up) Fix permissions names 2023-03-06 11:23:17 -03:00
circ Bug 32421: Add collection column to holds to pull 2023-03-14 09:06:14 -03:00
clubs
course_reserves Bug 20256: Use new methods 2023-02-02 11:59:26 -03:00
debian Bug 32558: Add ability for background_jobs_worker.pl to process multiple jobs simultaneously up to a limit 2023-03-06 13:57:53 -03:00
docs 22.11.00: Update history.txt 2022-11-25 15:20:02 -03:00
erm Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
errors
etc Bug 32684: Implement SIP patron status field "too many items lost" 2023-03-14 08:49:29 -03:00
ill
installer Bug 32057: (follow-up) Add INSERT IGNORE in dbrev 2023-03-14 10:55:26 -03:00
Koha Bug 32713: Throw exception on unexpected x-koha-embed header 2023-03-16 16:12:31 -03:00
koha-tmpl Bug 32421: Add collection column to holds to pull 2023-03-14 09:06:14 -03:00
labels
lib/CGI/Session/Serialize
members Bug 31095: Remove GetDebarments from members/memberentry.pl 2023-01-31 10:19:36 -03:00
misc Bug 29354: Make overdue_notices.pl send .html 2023-03-14 08:49:31 -03:00
offline_circ Bug 30016: Remove GetOpenIssue subroutine 2022-08-31 08:50:37 -03:00
opac Bug 32674: Fix placing a hold at the OPAC for serials 2023-03-06 09:51:44 -03:00
patron_lists
patroncards
plugins
pos
recalls
reports Bug 32613: (follow-up) Cache the tables 2023-03-06 14:45:30 -03:00
reserve Bug 32909: Load item type icons from the correct path 2023-02-15 09:21:20 -03:00
reviews
rotating_collections Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
serials
services
skel
suggestion Bug 32531: Restore behaviour of 'include archived' filter 2023-01-05 09:22:58 -03:00
svc Bug 15869: Change framework on overlay 2023-02-07 10:32:22 -03:00
t Bug 32713: Unit tests 2023-03-16 16:12:26 -03:00
tags
tmp/modified_authorities
tools Bug 30869: Add the ability to delete stock rotation rotas 2023-02-24 17:52:23 -03:00
virtualshelves Bug 16522: (follow-up) MARC display templates and get_marc_host fixes 2023-01-30 12:10:11 -03:00
xt Bug 32741: Regression tests 2023-02-02 11:59:26 -03:00
.editorconfig
.eslintrc.json
.gitignore Bug 32609: Add compiled css files to gitignore 2023-02-10 11:07:52 -03:00
.htaccess
.mailmap Bug 32582: Fix error in .mailmap 2023-01-17 09:27:15 +00:00
.perlcriticrc
.proverc.dist
.stylelintrc.json
about.pl Bug 3831: Add a warning to about page when there is no FA framework 2023-03-10 10:19:05 -03:00
app.psgi
build-resources.PL Bug 32609: Use the current yarn.lock to generate node_modules 2023-02-10 11:07:57 -03:00
changelanguage.pl
cpanfile Bug 32558: (QA follow-up) Move ForkManager to required 2023-03-07 11:03:32 -03:00
cypress.json
fix-perl-path.PL
gulpfile.js Bug 32978: Replace node-sass with dart-sass 2023-02-22 10:03:39 -03:00
help.pl
INSTALL
Koha.pm Bug 32057: DBRev 22.12.00.013 2023-03-14 08:58:37 -03:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl Bug 31028: Add ability to report concerns from the staff interface 2023-03-06 11:23:17 -03:00
Makefile.PL Bug 32806: (follow-up) Rename main.js to erm.js 2023-02-27 11:12:01 -03:00
MANIFEST.SKIP
package.json Bug 32978: Replace node-sass with dart-sass 2023-02-22 10:03:39 -03:00
README Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
README.md
README.robots
rewrite-config.PL
tsconfig.json
webpack.config.js Bug 32806: Move main-erm.ts to modules/erm.ts 2023-02-27 11:12:01 -03:00
yarn.lock Bug 32978: Updated yarn.lock 2023-02-22 10:03:40 -03:00

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

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

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