diff --git a/src/PHPSQL/Parser/Utils.php b/src/PHPSQL/Parser/Utils.php index c5b99e5..afdc7b8 100644 --- a/src/PHPSQL/Parser/Utils.php +++ b/src/PHPSQL/Parser/Utils.php @@ -64,6 +64,7 @@ protected function revokeEscaping($sql) { if (($result[0] === '`') && ($result[strlen($result) - 1] === '`')) { $result = substr($result, 1, -1); } + $result = str_replace('`.`', '.', $result); return str_replace('``', '`', $result); }