Debian Codegraph @

mysql-test/suite/vcol/r/vcol_sargable_debug.result

raw
1 create table t1 (a int, vcol1 int as (a+1), index(vcol1));
2 insert into t1 (a) select seq from seq_1_to_100;
3 SET SESSION debug_dbug="+d,vcol_subst_simulate_oom";
4 explain select * from t1 where a+1=2;
5 ERROR HY000: Out of memory.
6 SET @saved_dbug = @@SESSION.debug_dbug;
7 SET debug_dbug= @saved_dbug;
8 drop table t1;