Use new SQL mode constants in SQL parser

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-06-06 16:46:18 +02:00
parent 4d9b9cad36
commit 2bf3356879
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
"ext-xml": "*",
"ext-pcre": "*",
"ext-json": "*",
"phpmyadmin/sql-parser": "^4.1.2",
"phpmyadmin/sql-parser": "^4.1.7",
"phpmyadmin/motranslator": "^3.0",
"phpmyadmin/shapefile": "^2.0",
"tecnickcom/tcpdf": "^6.2",

View File

@ -1575,7 +1575,7 @@ class ExportSql extends ExportPlugin
// Using appropriate quotes.
if (($compat === 'MSSQL') || ($sql_backquotes === '"')) {
Context::$MODE |= Context::ANSI_QUOTES;
Context::$MODE |= Context::SQL_MODE_ANSI_QUOTES;
}
}