M. Tompsett <> changed:

           What    |Removed                     |Added
  Attachment #55113|0                           |1
        is obsolete|                            |

--- Comment #16 from M. Tompsett <> ---
Created attachment 55635
Bug 17234 -'s ALTER IGNORE break with mysql 5.7.4+

The doc says: "As of MySQL 5.7.4, the IGNORE clause for ALTER TABLE is removed
and its use produces an error."
This fix replaces ALTER IGNORE with ALTER in

To TEST, try an upgrade from 3.18 to 3.22 after installing the latest mysql (at
least 5.7.4, by the doc).
Some will fail with error

DBD::mysql::db do failed: You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to
use near 'IGNORE TABLE aqbasket
            ADD KEY authorisedby (authorisedby)' at line 1 [for Statement "
        ALTER IGNORE TABLE aqbasket
            ADD KEY authorisedby (authorisedby)
    "] at ./installer/data/mysql/ line 10563.

0) Find a database on 3.18, save it.
1) Set your code base to 3.22(or master)
2) run
3) See the errors.
4) Apply the patch
5) Reload the 3.18 database
6) succeed with

Signed-off-by: Mark Tompsett <>

You are receiving this mail because:
You are watching all bug changes.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to