Commit 2d55a9f
committed
Set sql_mode=ANSI_QUOTES for MySQL
By default, MySQL and MariaDB uses double quotes (") to delimit string
literals. This contradicts ANSI SQL, which uses double quotes to quote
special characters in identifiers. The generic_db_lookup expert relies
on the ANSI behaviour. Set sql_mode=ANSI_QUOTES for MySQL and MariaDB
to make it behave like everything else.1 parent 2f71f98 commit 2d55a9f
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
0 commit comments