]> git.mxchange.org Git - friendica.git/blobdiff - include/dbstructure.php
Fix Issue #2816 - MySQL version typo
[friendica.git] / include / dbstructure.php
index 6d9485b6e2a733768946832a4f6fe3a29edc1da1..9e0020fdbe21f5d0bb94780263ae99c30a3bb691 100644 (file)
@@ -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';