1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Restoring changes erroneously removed by applying

the innodb-5.0-ss476 snapshot.
This commit is contained in:
aivanov@mysql.com
2006-04-21 01:37:31 +04:00
parent 25d9a75d12
commit 364621abc0
2 changed files with 22 additions and 1 deletions

View File

@@ -2128,6 +2128,18 @@ connection default;
disconnect a;
disconnect b;
#
# Bug #14360: problem with intervals
#
create table t1(a date) engine=innodb;
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 18934, "InnoDB crashes when table uses column names like DB_ROW_ID"
--error 1005
CREATE TABLE t1 (DB_ROW_ID int) engine=innodb;