Sakai 11 Quartz upgrade script for MySQL does not complete

Description

Conversion scripts fail because of case-sensitivity with FK. This is the line that fails:

ALTER TABLE QRTZ_BLOB_TRIGGERS DROP FOREIGN KEY QRTZ_BLOB_TRIGGERS_IBFK_1;

Tested with Mysql 5.1, 5.5 with lower_case_table_names on and off

relates to

Activity

Show:

Sam Ottenhoff June 23, 2016 at 7:42 AM

I tested on a 10.x db and it worked.

Earle Nietzel June 23, 2016 at 7:41 AM

It contains changes to the upgrade script so it can be only tested by running the upgrade script.

Neal Caidin June 22, 2016 at 12:28 PM

Test plan for this one?
Thanks!

Sam Ottenhoff June 20, 2016 at 8:59 AM

Oh yes......... we are seeing mixed-case indexes all over the place, in databases with lower_case_table_names on and off .... and there is zero consistent way to delete them without following this path.

Matthew Buckett June 20, 2016 at 4:11 AM

Nice fix of re-creating the tables.

Have you seen instances of mixed case indexes too?

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Conversion Script Required

Yes
Created June 14, 2016 at 4:43 PM
Updated September 30, 2016 at 2:06 AM
Resolved June 22, 2016 at 12:21 PM