Skip to content

Commit 98f15da

Browse files
committed
Bug#27799513: POTENTIAL DOUBLE FREE OR CORRUPTION OF HEAP INFO (HP_INFO)
test case
1 parent f9e5195 commit 98f15da

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

mysql-test/suite/heap/heap_btree.result

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,3 +379,7 @@ id select_type table type possible_keys key key_len ref rows Extra
379379
1 SIMPLE t1 range uniq_id uniq_id 8 NULL 4 Using where
380380
drop table t1;
381381
End of 5.3 tests
382+
create table t1 (id int, a varchar(300) not null, key using btree(a)) engine=heap;
383+
insert t1 values (1, repeat('a', 300));
384+
drop table t1;
385+
End of 5.5 tests

mysql-test/suite/heap/heap_btree.test

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,3 +279,12 @@ explain select 0+a from t1 where a in (869751,736494,226312,802616);
279279
drop table t1;
280280

281281
--echo End of 5.3 tests
282+
283+
#
284+
# Bug#27799513: POTENTIAL DOUBLE FREE OR CORRUPTION OF HEAP INFO (HP_INFO)
285+
#
286+
create table t1 (id int, a varchar(300) not null, key using btree(a)) engine=heap;
287+
insert t1 values (1, repeat('a', 300));
288+
drop table t1;
289+
290+
--echo End of 5.5 tests

0 commit comments

Comments
 (0)