diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-06-04 14:03:46 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-06-04 14:03:46 +0400 |
commit | 7faef41a238b725d500953eb0e4f1e80d0268e53 (patch) | |
tree | 4ca063c883980b1909dccd9f2300c5122407d9cc | |
parent | 5162efa87cef5b723ff96a4158345314a61c9f33 (diff) |
This code is broken anyway (see comment above)
-rw-r--r-- | libraries/relation.lib.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libraries/relation.lib.php b/libraries/relation.lib.php index 914b54e3a2..e009ced8e8 100644 --- a/libraries/relation.lib.php +++ b/libraries/relation.lib.php @@ -1320,23 +1320,6 @@ function PMA_REL_renameTable($source_db, $target_db, $source_table, $target_tabl $source_table, $target_table, 'db_name', 'table_name' ); - /* - $pdf_query = 'SELECT pdf_page_number ' - . ' FROM ' . PMA_backquote($GLOBALS['cfgRelation']['db']) . '.' . PMA_backquote($GLOBALS['cfgRelation']['table_coords']) - . ' WHERE db_name = \'' . PMA_sqlAddSlashes($target_db) . '\'' - . ' AND table_name = \'' . PMA_sqlAddSlashes($target_table) . '\''; - $pdf_rs = PMA_query_as_controluser($pdf_query); - - while ($pdf_copy_row = PMA_DBI_fetch_assoc($pdf_rs)) { - $table_query = 'UPDATE ' . PMA_backquote($GLOBALS['cfgRelation']['db']) . '.' . PMA_backquote($GLOBALS['cfgRelation']['pdf_pages']) - . ' SET db_name = \'' . PMA_sqlAddSlashes($target_db) . '\'' - . ' WHERE db_name = \'' . PMA_sqlAddSlashes($source_db) . '\'' - . ' AND page_nr = \'' . PMA_sqlAddSlashes($pdf_copy_row['pdf_page_number']) . '\''; - $tb_rs = PMA_query_as_controluser($table_query); - unset($table_query); - unset($tb_rs); - } - */ } if ($GLOBALS['cfgRelation']['designerwork']) { |