mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
branches/zip: btr_cur_pessimistic_insert(): When calling
btr_cur_optimistic_insert(), pass big_rec to it, so that the field references of externally stored columns (BLOB pointers) will not be left uninitialized after a successful optimistic insert. This bug was spotted by Sunny.
This commit is contained in:
parent
7750d0e8d5
commit
d08281b601
1 changed files with 1 additions and 1 deletions
|
@ -1267,7 +1267,7 @@ btr_cur_pessimistic_insert(
|
|||
cursor->flag = BTR_CUR_BINARY;
|
||||
|
||||
err = btr_cur_optimistic_insert(flags, cursor, entry, rec,
|
||||
&big_rec_vec, n_ext, thr, mtr);
|
||||
big_rec, n_ext, thr, mtr);
|
||||
if (err != DB_FAIL) {
|
||||
|
||||
return(err);
|
||||
|
|
Loading…
Add table
Reference in a new issue