You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/WP_SQLite_Driver_Translation_Tests.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1220,17 +1220,17 @@ public function testSerialDataTypes(): void {
1220
1220
1221
1221
publicfunctiontestSystemVariables(): void {
1222
1222
$this->assertQuery(
1223
-
'SELECT NULL',
1223
+
"SELECT 'ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES' AS `@@sql_mode`",
1224
1224
'SELECT @@sql_mode'
1225
1225
);
1226
1226
1227
1227
$this->assertQuery(
1228
-
'SELECT NULL',
1228
+
"SELECT 'ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES' AS `@@SESSION.sql_mode`",
1229
1229
'SELECT @@SESSION.sql_mode'
1230
1230
);
1231
1231
1232
1232
$this->assertQuery(
1233
-
'SELECT NULL',
1233
+
"SELECT 'ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES' AS `@@GLOBAL.sql_mode`",
0 commit comments