mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
2709380587
my_safe_alloca()/my_safe_afree() work as alloca() or malloc()/free() depending on the memory size to allocate, that is, depending on reclength here. They only work correctly if reclength doesn't change in the middle.
4 lines
154 B
Text
4 lines
154 B
Text
create table t1 (a blob, b varchar(20000)) engine=aria row_format=dynamic;
|
|
insert t1 (b) values (repeat('a', 20000));
|
|
update t1 set b='b';
|
|
drop table t1;
|