mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
branches/zip: dict_index_add_to_cache(): Always free the index object,
also when returning DB_CORRUPTION.
This commit is contained in:
parent
87c59db27a
commit
2e32477ad5
1 changed files with 1 additions and 0 deletions
|
@ -1460,6 +1460,7 @@ dict_index_add_to_cache(
|
|||
|
||||
if (!dict_index_find_cols(table, index)) {
|
||||
|
||||
dict_mem_index_free(index);
|
||||
return(DB_CORRUPTION);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue