Skip to content

Commit ada4920

Browse files
committed
tests: fixed a test case when MariaDB is used.
1 parent 58fabd3 commit ada4920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/sanity.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ GET /t
244244
--- response_body_like chop
245245
^connected to mysql \d\.\S+\.
246246
sent 12 bytes\.
247-
bad result: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bad SQL' at line 1: 1064: 42000\.$
247+
bad result: You have an error in your SQL syntax; check the manual that corresponds to your (?:MySQL|MariaDB) server version for the right syntax to use near 'bad SQL' at line 1: 1064: 42000\.$
248248
--- no_error_log
249249
[error]
250250

0 commit comments

Comments
 (0)