cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [2/2] git commit: updated refs/heads/master to ad138a1
Date Thu, 28 Apr 2016 20:06:48 GMT
Merge pull request #1517 from shapeblue/mysql-5.7-upgradefix

engine/schema: fix upgrade path to work with MySQL 5.7Found this issue when using MySQL 5.7
with Ubuntu 16.04. The upgrade path fix removes an invalid `IGNORE` param that is deprecated
now, in the upgrade path we run the alter statement to add an index only if it does not exist
so we're good.

For MySQL 5.7, we'll also need to update the docs at some point to include `server-id` along
with other parameters. Some of the SQL statements used throughout engine/schema don't adhere
to SQL 99 standard which is enforced by default in MySQL 5.7, therefore the following sql-mode
(for backward compatibility with mysql 5.6 modes) will be necessary for anyone willing to
use MySQL 5.7 (until we fix codebase wide raw and generated sql statements to be SQL99 compliant):

server-id   = 1
binlog-format = 'ROW'

/cc @swill @jburwell @agneya2001 @wido @DaanHoogland  and others

* pr/1517:
  engine/schema: fix upgrade path to work with MySQL 5.7

Signed-off-by: Will Stevens <>


Branch: refs/heads/master
Commit: ad138a15d7cf62306ad827c404167716dd5fed3e
Parents: 12d8e53 c63ea0a
Author: Will Stevens <>
Authored: Thu Apr 28 16:06:20 2016 -0400
Committer: Will Stevens <>
Committed: Thu Apr 28 16:06:20 2016 -0400

 engine/schema/src/com/cloud/upgrade/dao/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

View raw message