Use new SQL mode constants in SQL parser
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
4d9b9cad36
commit
2bf3356879
@ -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",
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user