From a052fe4a98daa10be1656120ec0eb268f3113ecd Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 3 Oct 2016 19:17:40 -0400 Subject: [PATCH] Fix Issue #2816 - MySQL version typo --- include/dbstructure.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dbstructure.php b/include/dbstructure.php index 6d9485b6e2..9e0020fdbe 100644 --- a/include/dbstructure.php +++ b/include/dbstructure.php @@ -165,8 +165,8 @@ function update_structure($verbose, $action, $tables=null, $definition=null) { if ($action) @$db->q($sql_config); - // MySQL >= 5.7 doesn't support the IGNORE keyword in ALTER TABLE statements - if (version_compare($db->getdb()->server_info, '5.7') >= 0) { + // MySQL >= 5.7.4 doesn't support the IGNORE keyword in ALTER TABLE statements + if (version_compare($db->getdb()->server_info, '5.7.4') >= 0) { $ignore = ''; }else { $ignore = ' IGNORE';