Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Przybylski <piotrprz@gmail.com>2011-08-16 02:04:44 +0400
committerPiotr Przybylski <piotrprz@gmail.com>2011-08-16 02:04:44 +0400
commite2eb8a28dad7d07ab24c84685d388d4b230a4f92 (patch)
tree25deaf07282965e2ed04968da1a0779c0d2c8848 /db_tracking.php
parent2704835c4aea9abae0fb8836f98cce7809927b1d (diff)
PMA_backquote is not needed for string literals
Diffstat (limited to 'db_tracking.php')
-rw-r--r--db_tracking.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/db_tracking.php b/db_tracking.php
index df1106e83b..29d8cc85b1 100644
--- a/db_tracking.php
+++ b/db_tracking.php
@@ -67,9 +67,9 @@ require_once './libraries/db_links.inc.php';
$all_tables_query = ' SELECT table_name, MAX(version) as version FROM ' .
PMA_backquote($GLOBALS['cfg']['Server']['pmadb']) . '.' .
PMA_backquote($GLOBALS['cfg']['Server']['tracking']) .
- ' WHERE ' . PMA_backquote('db_name') . ' = \'' . PMA_sqlAddSlashes($_REQUEST['db']) . '\' ' .
- ' GROUP BY '. PMA_backquote('table_name') .
- ' ORDER BY '. PMA_backquote('table_name') .' ASC';
+ ' WHERE db_name = \'' . PMA_sqlAddSlashes($_REQUEST['db']) . '\' ' .
+ ' GROUP BY table_name' .
+ ' ORDER BY table_name ASC';
$all_tables_result = PMA_query_as_controluser($all_tables_query);