1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-7635: Update tests to adapt to the new default sql_mode

This commit is contained in:
Nirbhay Choubey
2017-02-08 15:28:00 -05:00
parent f556aa9b5f
commit 8b2e642aa2
600 changed files with 7101 additions and 6154 deletions

View File

@ -255,6 +255,7 @@ c1 ST_Astext(c2) ST_Astext(c4)
INSERT INTO tab SELECT * FROM tab1;
ALTER TABLE tab DROP PRIMARY KEY;
ALTER TABLE tab DROP INDEX idx2;
SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR
CREATE TEMPORARY TABLE temp_tab AS SELECT * FROM tab where c1 = c2;
INSERT INTO temp_tab SELECT * FROM tab;
CREATE SPATIAL INDEX idx2 ON temp_tab(c2);