diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-07 15:35:55 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-07 15:35:55 +0200 |
commit | e3adf96aeb39ad43143ca2a9c7a2f23d06e8e26b (patch) | |
tree | edf841782bca7c1d7231f96e37c719a675e09fc7 /sql-bench/README | |
parent | 1a5028f43081f9877743a465317ad3e33bd9ddfc (diff) | |
download | mariadb-git-e3adf96aeb39ad43143ca2a9c7a2f23d06e8e26b.tar.gz |
MDEV-13818 CREATE INDEX leaks memory if running out of undo log space
row_merge_create_index_graph(): Relay the internal state
from dict_create_index_step(). Our caller should free the index
only if it was not copied, added to the cache, and freed.
row_merge_create_index(): Free the index template if it was
not added to the cache. This is a safer variant of the logic
that was introduced in 65070beffd2e9279145b48d1f27c517b6588e543 in 10.2.
prepare_inplace_alter_table_dict(): Add additional fault injection
to exercise a code path where we have already added an index
to the cache.
Diffstat (limited to 'sql-bench/README')
0 files changed, 0 insertions, 0 deletions