From d08281b601db55f2810199e93c60dfea6a0abce7 Mon Sep 17 00:00:00 2001 From: marko <> Date: Tue, 27 Nov 2007 07:57:03 +0000 Subject: [PATCH] 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. --- btr/btr0cur.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btr/btr0cur.c b/btr/btr0cur.c index da4727d0fc5..651b3fb08a9 100644 --- a/btr/btr0cur.c +++ b/btr/btr0cur.c @@ -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);