I assume PMA_DBI_getError should be used here
This commit is contained in:
parent
30d17d54f7
commit
cf7d83933a
@ -156,7 +156,7 @@ if (isset($_REQUEST['do_save_data'])) {
|
||||
|
||||
// To allow replication, we first select the db to use and then run queries
|
||||
// on this db.
|
||||
PMA_DBI_select_db($db) or PMA_Util::mysqlDie(PMA_getError(), 'USE ' . PMA_Util::backquote($db), '', $err_url);
|
||||
PMA_DBI_select_db($db) or PMA_Util::mysqlDie(PMA_DBI_getError(), 'USE ' . PMA_Util::backquote($db), '', $err_url);
|
||||
$sql_query = 'ALTER TABLE ' . PMA_Util::backquote($table) . ' ' . implode(', ', $definitions) . ';';
|
||||
$result = PMA_DBI_try_query($sql_query);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user