mysql-test/suite/innodb/t/innodb_bug11789106.test
raw| 1 | # Test for bug #11789106: FAILING ASSERTION: templ->mbmaxlen > templ->mbminlen |
| 2 | # templ->mysql_col_len == len |
| 3 | |
| 4 | |
| 5 | create table table_11789106(`a` point,`b` int,`c` char(2)) |
| 6 | character set latin2 engine=innodb; |
| 7 | |
| 8 | insert ignore into table_11789106 values (ST_geomfromtext('point(1 1)'),'',''); |
| 9 | |
| 10 | # This will trigger the assertion failure in |
| 11 | # row_sel_field_store_in_mysql_format_func() |
| 12 | select `a` from table_11789106 where `b` < '1' for update; |
| 13 | |
| 14 | drop table table_11789106; |
| 15 |