MINI MINI MANI MO

Path : /opt/mysql/mysql-test/suite/innodb/t/
File Upload :
Current File : //opt/mysql/mysql-test/suite/innodb/t/innodb_bug11789106.test

# Test for bug #11789106: FAILING ASSERTION: templ->mbmaxlen > templ->mbminlen
# templ->mysql_col_len == len

-- source include/have_innodb.inc

create table table_11789106(`a` point,`b` int,`c` char(2),
			   primary key (`a`(1),`c`(1)), key (`b`))
character set latin2 engine=innodb;

insert ignore into table_11789106 values (ST_geomfromtext('point(1 1)'),'','');

# This will trigger the assertion failure in
# row_sel_field_store_in_mysql_format_func()
select `a` from table_11789106 where `b` < '1' for update;

drop table table_11789106;


OHA YOOOO