diff --git a/setup/inc/class.schema_proc_mysql.inc.php b/setup/inc/class.schema_proc_mysql.inc.php index b9e8c6e729..0b58c4899f 100644 --- a/setup/inc/class.schema_proc_mysql.inc.php +++ b/setup/inc/class.schema_proc_mysql.inc.php @@ -285,7 +285,7 @@ function RenameTable($oProc, &$aTables, $sOldTableName, $sNewTableName) { - return !!($oProc->m_odb->query("ALTER TABLE $sOldTableName RENAME TO $sNewTableName")); + return !!($oProc->m_odb->query("ALTER TABLE $sOldTableName RENAME $sNewTableName")); } function RenameColumn($oProc, &$aTables, $sTableName, $sOldColumnName, $sNewColumnName, $bCopyData = true)