Commit d08281b6 authored by marko's avatar marko

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.
parent 7750d0e8
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment