Fix test failure.

This commit is contained in:
Jan Lindström 2015-02-04 16:50:29 +02:00
parent 8cc9751165
commit 5c6eb5222e
2 changed files with 8 additions and 3 deletions

View file

@ -1,9 +1,14 @@
-- source include/have_innodb.inc
# MDEV-7055: MySQL#74664 - InnoDB: Failing assertion: len <= col->len || col->mtype == 5 || (col->len == 0 && col->mtype == 1) in file rem0rec.cc line 845
DROP DATABASE test;CREATE DATABASE test;USE test;
# MDEV-7055: MySQL#74664 - InnoDB: Failing assertion: len <= col->len
# || col->mtype == 5 || (col->len == 0 && col->mtype == 1) in
# file rem0rec.cc line 845
set @old_character_set=@@character_set_connection;
set character_set_connection=ucs2;
create TABLE t1 engine=innodb select if(0=0,'Y','N');
insert INTO t1 values(date_format('2001-01-01','%W'));
select * from t1;
drop table t1;
drop table t1;
--disable_query_log
set @@character_set_connection=@old_character_set;