diff --git a/db_operations.php b/db_operations.php index 8ba13a28b..44e93b232 100644 --- a/db_operations.php +++ b/db_operations.php @@ -121,7 +121,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) { if ($this_what != 'nocopy') { // keep the triggers from the original db+table - // (third param is empty because delimiters are only intended + // (third param is empty because delimiters are only intended // for importing via the mysql client or our Import feature) $triggers = PMA_DBI_get_triggers($db, $each_table, ''); @@ -141,7 +141,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) { } unset($trigger); } - unset($triggers); + unset($triggers); // this does not apply to a rename operation if (isset($GLOBALS['add_constraints']) && !empty($GLOBALS['sql_constraints_query'])) { @@ -631,72 +631,8 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?> WHERE db_name = \'' . PMA_sqlAddslashes($db) . '\''; $test_rs = PMA_query_as_controluser($test_query, null, PMA_DBI_QUERY_STORE); - if ($test_rs && PMA_DBI_num_rows($test_rs) > 0) { ?> - -
- 0) { + include('./libraries/display_pdf_schema.lib.php'); } // end if echo '