diff options
Diffstat (limited to 'mysql-test/suite/compat/oracle/r/misc.result')
-rw-r--r-- | mysql-test/suite/compat/oracle/r/misc.result | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/suite/compat/oracle/r/misc.result b/mysql-test/suite/compat/oracle/r/misc.result new file mode 100644 index 00000000..38f38bd0 --- /dev/null +++ b/mysql-test/suite/compat/oracle/r/misc.result @@ -0,0 +1,12 @@ +SET sql_mode=ORACLE; +# +# MDEV-12086 sql_mode=ORACLE: allow SELECT UNIQUE as a synonym for SELECT DISTINCT +# +CREATE TABLE t1 (a INT); +INSERT INTO t1 VALUES (10),(20),(20),(30),(30),(30); +SELECT UNIQUE a FROM t1; +a +10 +20 +30 +DROP TABLE t1; |