mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-25481 Memory leak in Cached_item_str::Cached_item_str WITH TIES involving a blob
Make sure to call cached item's destructors.
This commit is contained in:
@ -1368,3 +1368,13 @@ f
|
||||
1
|
||||
1
|
||||
drop table t1;
|
||||
#
|
||||
# MDEV-25481: Memory leak upon query WITH TIES involving a blob
|
||||
#
|
||||
CREATE TABLE t (a TEXT);
|
||||
INSERT INTO t VALUES ('foo'),('bar');
|
||||
SELECT a FROM t ORDER BY a FETCH FIRST 2 ROWS WITH TIES;
|
||||
a
|
||||
bar
|
||||
foo
|
||||
DROP TABLE t;
|
||||
|
Reference in New Issue
Block a user