mysql-test/suite/optimizer_unfixed_bugs/r/bug36981.result
raw| 1 | SET @saved_dbug = @@SESSION.debug_dbug; |
| 2 | set session debug_dbug="+d,optimizer_innodb_icp"; |
| 3 | create table `t1` (`c1` char(1) default null,`c2` char(10) default null, |
| 4 | key (`c1`)) |
| 5 | engine=innodb default charset=latin1; |
| 6 | insert into `t1` values ('3',null); |
| 7 | select * from `t1` where `c1`='3' for update; |
| 8 | c1 c2 |
| 9 | 3 NULL |
| 10 | drop table `t1`; |
| 11 | SET debug_dbug= @saved_dbug; |