1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-308 lp:1008516 - Failing assertion: templ->mysql_col_len == len

remove the offending assert.
take the test case from mysql Bug#58015
This commit is contained in:
Sergei Golubchik
2012-06-04 23:22:03 +02:00
parent 25ada13db0
commit 265d5aaa2e
5 changed files with 66 additions and 1 deletions

View File

@ -874,3 +874,21 @@ show status like "Handler_icp%";
DROP TABLE t1;
#
# MDEV-308 lp:1008516 - Failing assertion: templ->mysql_col_len == len
#
create table t1 (a int,b char(5),primary key (a), key (b(1)));
insert into t1 values ('a','b');
select 1 from t1 where a and b >= 'aa';
drop table t1;
--echo #
--echo # Bug#58015 "Assert in row_sel_field_store_in_mysql_format
--echo # when running innodb_mrr_icp test"
--echo #
create table t1 (a char(2) charset utf8,b double, primary key (a(1)),key (b));
insert into t1 values ('',1);
select 1 from t1 where b <= 1 and a <> '';
drop table t1;