Fixed bug #3323101 - Invalid escape sequence in SQL parser
This commit is contained in:
@@ -379,7 +379,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
|
||||
// Checks for MySQL escaping using a \
|
||||
// And checks for ANSI escaping using the $quotetype character
|
||||
if (($pos < $len) && PMA_STR_charIsEscaped($sql, $pos)) {
|
||||
if (($pos < $len) && PMA_STR_charIsEscaped($sql, $pos) && $c != '`') {
|
||||
$pos ++;
|
||||
continue;
|
||||
} elseif (($pos + 1 < $len) && ($GLOBALS['PMA_substr']($sql, $pos, 1) == $quotetype) && ($GLOBALS['PMA_substr']($sql, $pos + 1, 1) == $quotetype)) {
|
||||
|
Reference in New Issue
Block a user