@@ -748,7 +748,7 @@ static public function moveCopy($source_db, $source_table, $target_db,
748748
749749 // Doing a select_db could avoid some problems with replicated databases,
750750 // when moving table from replicated one to not replicated one
751- PMA_DBI_select_db ($ target_db );
751+ PMA_DBI_selectDb ($ target_db );
752752
753753 $ target = PMA_Util::backquote ($ target_db ) . '. ' . PMA_Util::backquote ($ target_table );
754754
@@ -936,7 +936,7 @@ static public function moveCopy($source_db, $source_table, $target_db,
936936
937937 // This could avoid some problems with replicated databases, when
938938 // moving table from replicated one to not replicated one
939- PMA_DBI_select_db ($ source_db );
939+ PMA_DBI_selectDb ($ source_db );
940940
941941 if (PMA_Table::isView ($ source_db , $ source_table )) {
942942 $ sql_drop_query = 'DROP VIEW ' ;
@@ -1201,7 +1201,7 @@ function rename($new_name, $new_db = null)
12011201 if (! PMA_DBI_query ($ GLOBALS ['sql_query ' ])) {
12021202 // Restore triggers in the old database
12031203 if ($ handle_triggers ) {
1204- PMA_DBI_select_db ($ this ->getDbName ());
1204+ PMA_DBI_selectDb ($ this ->getDbName ());
12051205 foreach ($ triggers as $ trigger ) {
12061206 PMA_DBI_query ($ trigger ['create ' ]);
12071207 }
0 commit comments