summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb.test
diff options
context:
space:
mode:
authorholyfoot@mysql.com <>2006-05-03 16:42:39 +0500
committerholyfoot@mysql.com <>2006-05-03 16:42:39 +0500
commit7ee205f67aed684442a0b8bc75e1a42b1569637d (patch)
treec59d637e1d3d7b81ff0e680ba83046ad4f19773e /mysql-test/t/innodb.test
parent9de68b8122c4088b248d7b2c01cc3bdcec50bd3c (diff)
parentc2acfc5b7c7d5036db27d294e505260c6db331e8 (diff)
downloadmariadb-git-7ee205f67aed684442a0b8bc75e1a42b1569637d.tar.gz
merging
Diffstat (limited to 'mysql-test/t/innodb.test')
-rw-r--r--mysql-test/t/innodb.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/innodb.test b/mysql-test/t/innodb.test
index 3ba5ca5b4a2..703e3b311b9 100644
--- a/mysql-test/t/innodb.test
+++ b/mysql-test/t/innodb.test
@@ -2190,3 +2190,15 @@ SELECT DISTINCT p0.a FROM t2 p0 WHERE BINARY p0.b = 'customer_over';
SELECT p0.a FROM t2 p0 WHERE BINARY p0.b = 'customer_over';
drop table t2, t1;
+create table t2(a date, key(a)) engine=innodb;
+insert into t1 values('2005-10-01');
+insert into t2 values('2005-10-01');
+select * from t1, t2
+ where t2.a between t1.a - interval 2 day and t1.a + interval 2 day;
+drop table t1, t2;
+
+#
+# Bug #15680 (SPATIAL key in innodb)
+#
+--error ER_TABLE_CANT_HANDLE_SPKEYS
+create table t1 (g geometry not null, spatial gk(g)) engine=innodb;