mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
MDEV-30112 ASAN errors in Item_ident::print / generate_partition_syntax
Like in MDEV-16110 we must release items allocated on thd->mem_root by reopening the table. MDEV-16290 relocated MDEV-16110 fix in 10.5 so it works for MDEV-28576 as well. 10.3 without MDEV-16290 now duplicates this fix.
This commit is contained in:
parent
b527bfe823
commit
cc86360f4a
3 changed files with 25 additions and 0 deletions
|
|
@ -196,4 +196,14 @@ delete from t order by b limit 1;
|
|||
# cleanup
|
||||
drop table t;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-30112 ASAN errors in Item_ident::print / generate_partition_syntax
|
||||
--echo #
|
||||
create table t (a int) partition by hash(a);
|
||||
--error ER_BAD_FIELD_ERROR
|
||||
alter table t change a b int, drop a;
|
||||
show create table t;
|
||||
# Cleanup
|
||||
drop table t;
|
||||
|
||||
--echo # End of 10.3 tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue