mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-10588 sql_mode=ORACLE: TRUNCATE TABLE t1 [ {DROP|REUSE} STORAGE ]
This commit is contained in:
10
mysql-test/suite/compat/oracle/r/truncate.result
Normal file
10
mysql-test/suite/compat/oracle/r/truncate.result
Normal file
@ -0,0 +1,10 @@
|
||||
SET sql_mode=ORACLE;
|
||||
#
|
||||
# MDEV-10588 sql_mode=ORACLE: TRUNCATE TABLE t1 [ {DROP|REUSE} STORAGE ]
|
||||
#
|
||||
CREATE TABLE t1 (a INT);
|
||||
TRUNCATE TABLE t1 REUSE STORAGE;
|
||||
TRUNCATE TABLE t1 DROP STORAGE;
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE reuse (reuse INT);
|
||||
DROP TABLE reuse;
|
Reference in New Issue
Block a user