SET sql_mode=ORACLE; --echo # --echo # Start of 10.2 tests --echo # --echo # --echo # MDEV-27690 Crash on `CHARACTER SET csname COLLATE DEFAULT` in column definition --echo # CREATE TABLE t1 (a CHAR(10) CHARACTER SET latin1 COLLATE DEFAULT); DROP TABLE t1; SELECT CAST('a' AS CHAR(10) CHARACTER SET latin1 COLLATE DEFAULT); SELECT COLUMN_GET(COLUMN_CREATE(0, 'string'),0 AS CHAR CHARACTER SET latin1 COLLATE DEFAULT) AS c1; --echo # --echo # End of 10.2 tests --echo # --echo # --echo # Start of 10.3 tests --echo # --echo # --echo # MDEV-12086 sql_mode=ORACLE: allow SELECT UNIQUE as a synonym for SELECT DISTINCT --echo # CREATE TABLE t1 (a INT); INSERT INTO t1 VALUES (10),(20),(20),(30),(30),(30); SELECT UNIQUE a FROM t1; DROP TABLE t1; --echo # --echo # End of 10.3 tests --echo #