Use current DBI API
This commit is contained in:
parent
93c5a23a72
commit
04d815488d
@ -380,7 +380,7 @@ function PMA_getSqlQueryAndCreateDbBeforeCopy()
|
||||
// Set the SQL mode to NO_AUTO_VALUE_ON_ZERO to prevent MySQL from creating
|
||||
// export statements it cannot import
|
||||
$sql_set_mode = "SET SQL_MODE='NO_AUTO_VALUE_ON_ZERO'";
|
||||
PMA_DBI_query($sql_set_mode);
|
||||
$GLOBALS['dbi']->query($sql_set_mode);
|
||||
|
||||
// rebuild the database list because PMA_Table::moveCopy
|
||||
// checks in this list if the target db exists
|
||||
|
||||
Loading…
Reference in New Issue
Block a user