summaryrefslogtreecommitdiff
path: root/mysql-test/suite/compat/maxdb/type_timestamp.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/compat/maxdb/type_timestamp.test')
-rw-r--r--mysql-test/suite/compat/maxdb/type_timestamp.test29
1 files changed, 29 insertions, 0 deletions
diff --git a/mysql-test/suite/compat/maxdb/type_timestamp.test b/mysql-test/suite/compat/maxdb/type_timestamp.test
new file mode 100644
index 00000000000..cd60ffc0795
--- /dev/null
+++ b/mysql-test/suite/compat/maxdb/type_timestamp.test
@@ -0,0 +1,29 @@
+--echo #
+--echo # MDEV-19632 Replication aborts with ER_SLAVE_CONVERSION_FAILED upon CREATE ... SELECT in ORACLE mode
+--echo #
+
+
+SET sql_mode=DEFAULT;
+CREATE TABLE t1 (
+ def_timestamp TIMESTAMP,
+ mdb_timestamp mariadb_schema.TIMESTAMP,
+ ora_timestamp oracle_schema.TIMESTAMP,
+ max_timestamp maxdb_schema.TIMESTAMP
+);
+SHOW CREATE TABLE t1;
+SET sql_mode=MAXDB;
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+
+
+SET sql_mode=MAXDB;
+CREATE TABLE t1 (
+ def_timestamp TIMESTAMP,
+ mdb_timestamp mariadb_schema.TIMESTAMP,
+ ora_timestamp oracle_schema.TIMESTAMP,
+ max_timestamp maxdb_schema.TIMESTAMP
+);
+SHOW CREATE TABLE t1;
+SET sql_mode=DEFAULT;
+SHOW CREATE TABLE t1;
+DROP TABLE t1;