mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-7635: Update tests to adapt to the new default sql_mode
This commit is contained in:
@ -168,6 +168,7 @@ DROP TABLE t1;
|
||||
EXPLAIN EXTENDED SELECT REGEXP_REPLACE('abc','b','x');
|
||||
|
||||
# Check decimals
|
||||
SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR
|
||||
CREATE TABLE t1 AS SELECT REGEXP_REPLACE('abc','b','x')+0;
|
||||
SHOW CREATE TABLE t1;
|
||||
DROP TABLE t1;
|
||||
@ -343,6 +344,7 @@ DROP TABLE t1;
|
||||
EXPLAIN EXTENDED SELECT REGEXP_SUBSTR('abc','b');
|
||||
|
||||
# Check decimals
|
||||
SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR
|
||||
CREATE TABLE t1 AS SELECT REGEXP_SUBSTR('abc','b')+0;
|
||||
SHOW CREATE TABLE t1;
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user