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:
marko 2007-11-27 07:57:03 +00:00
parent 7750d0e8d5
commit d08281b601

View file

@ -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);