Double quotes are better for SQLs since single quotes inside the SQL need not be escaped.
This commit is contained in:
parent
ea8324f67f
commit
b67aee6cb0
@ -97,9 +97,9 @@ if (true === $cfg['SkipLockedTables']) {
|
||||
while ($tmp = $GLOBALS['dbi']->fetchRow($db_info_result)) {
|
||||
if (! isset($sot_cache[$tmp[0]])) {
|
||||
$sts_result = $GLOBALS['dbi']->query(
|
||||
'SHOW TABLE STATUS FROM ' . PMA_Util::backquote($db)
|
||||
. ' LIKE \'' . PMA_Util::sqlAddSlashes($tmp[0], true)
|
||||
. '\';'
|
||||
"SHOW TABLE STATUS FROM " . PMA_Util::backquote($db)
|
||||
. " LIKE '" . PMA_Util::sqlAddSlashes($tmp[0], true)
|
||||
. "';"
|
||||
);
|
||||
$sts_tmp = $GLOBALS['dbi']->fetchAssoc($sts_result);
|
||||
$GLOBALS['dbi']->freeResult($sts_result);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user