summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/cassandra.result6
-rw-r--r--mysql-test/t/cassandra.test5
2 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/cassandra.result b/mysql-test/r/cassandra.result
index a340ae75f62..36d562f3348 100644
--- a/mysql-test/r/cassandra.result
+++ b/mysql-test/r/cassandra.result
@@ -210,6 +210,12 @@ select * from t2;
rowkey datecol
1 2012-08-29 01:23:45
delete from t2;
+# MDEV-498: Cassandra: Inserting a timestamp does not work on a 32-bit system
+INSERT INTO t2 VALUES (10,'2012-12-12 12:12:12');
+SELECT * FROM t2;
+rowkey datecol
+10 2012-12-12 12:12:12
+delete from t2;
#
# (no MDEV#) Check that insert counters work correctly
#
diff --git a/mysql-test/t/cassandra.test b/mysql-test/t/cassandra.test
index 365cb5f8230..b7762085029 100644
--- a/mysql-test/t/cassandra.test
+++ b/mysql-test/t/cassandra.test
@@ -236,6 +236,11 @@ insert into t2 values (1, '2012-08-29 01:23:45');
select * from t2;
delete from t2;
+--echo # MDEV-498: Cassandra: Inserting a timestamp does not work on a 32-bit system
+INSERT INTO t2 VALUES (10,'2012-12-12 12:12:12');
+SELECT * FROM t2;
+delete from t2;
+
--echo #
--echo # (no MDEV#) Check that insert counters work correctly
--echo #