diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-06-04 23:22:03 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-06-04 23:22:03 +0200 |
commit | 265d5aaa2e240288fff98e7c129cf441728152f8 (patch) | |
tree | 635cb5794b239e8b9f7d2d465790de8aba857966 /mysql-test/include | |
parent | 25ada13db06d06050f0361bc434fe2b58303b5f2 (diff) | |
download | mariadb-git-265d5aaa2e240288fff98e7c129cf441728152f8.tar.gz |
MDEV-308 lp:1008516 - Failing assertion: templ->mysql_col_len == len
remove the offending assert.
take the test case from mysql Bug#58015
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/icp_tests.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/include/icp_tests.inc b/mysql-test/include/icp_tests.inc index e84b8622cdb..ffe8d7f1eb1 100644 --- a/mysql-test/include/icp_tests.inc +++ b/mysql-test/include/icp_tests.inc @@ -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; + |