Use current DBI API

This commit is contained in:
Michal Čihař 2013-07-25 11:13:55 +02:00
parent 93c5a23a72
commit 04d815488d

View File

@ -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