You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create or replacetablet1 (a int) with system versioning;
create or replaceviewv1asselect*from t1;
prepare stmt from"select * from t1 where exp( '20010609211642053929' )";
execute stmt;
select a from v1;
Result
#30x00007ffff5d9bfc2 in __GI___assert_fail (assertion=0x14ce8c2"thd->Item_change_list::is_empty()", file=0x14e2e6e"/home/midenok/src/mariadb/trunk/src/sql/sql_parse.cc", line=8025, function=0x14e3d80"void mysql_parse(THD *, char *, uint, Parser_state *, bool, bool)") at assert.c:101
#40x00000000007ab367 in mysql_parse (thd=0x7fff78000d50, rawbuf=0x7fff7803ade8"select a from v1", length=16, parser_state=0x7fffe5116640, is_com_multi=false, is_next_command=false) at /home/midenok/src/mariadb/trunk/src/sql/sql_parse.cc:8025
MDEV-16042 Server crash or ASAN use-after-poison in Query_arena::free_items after executing a failing PS which reads from versioned table
Reproduce
CREATETABLEt1 (a INT) WITH SYSTEM VERSIONING;
PREPARE stmt FROM"CREATE TABLE tmp AS SELECT * FROM t1 WHERE EXP(20010609211642053929)";
--error ER_DATA_OUT_OF_RANGE
EXECUTE stmt;
--connection defaultDROPTABLE t1;
Reproduce
Result
The text was updated successfully, but these errors were encountered: