mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
branches/zip: btr_cur_optimistic_insert(): Fail gracefully if
reorganizing the page fails when compressed pages are enabled.
This commit is contained in:
parent
57df0547fd
commit
32e6f3f292
1 changed files with 5 additions and 0 deletions
|
@ -1131,6 +1131,11 @@ calculate_sizes_again:
|
|||
entry, index, ext, n_ext, mtr);
|
||||
|
||||
if (UNIV_UNLIKELY(!*rec)) {
|
||||
if (UNIV_LIKELY(page_zip != NULL)) {
|
||||
|
||||
return(DB_FAIL);
|
||||
}
|
||||
|
||||
fputs("InnoDB: Error: cannot insert tuple ", stderr);
|
||||
dtuple_print(stderr, entry);
|
||||
fputs(" into ", stderr);
|
||||
|
|
Loading…
Reference in a new issue