MXS-1196: Add Oracle specific tests

Copied from .../server/mysql-test/suite/compat/oracle/t

Will be used as a baseline and edited as needed.
This commit is contained in:
Johan Wikman
2017-05-16 12:37:22 +03:00
parent 8c1d53192c
commit 50413c5195
32 changed files with 11322 additions and 0 deletions

View File

@ -0,0 +1,16 @@
SET sql_mode=ORACLE;
--echo #
--echo # MDEV-10588 sql_mode=ORACLE: TRUNCATE TABLE t1 [ {DROP|REUSE} STORAGE ]
--echo #
CREATE TABLE t1 (a INT);
TRUNCATE TABLE t1 REUSE STORAGE;
TRUNCATE TABLE t1 DROP STORAGE;
DROP TABLE t1;
# REUSE is actually a reserved word in Oracle.
# But we don't reserve it for MDEV-10588
CREATE TABLE reuse (reuse INT);
DROP TABLE reuse;