Though this bug was never present in a release, it was not invalid. The patch for this was;
=== modified file 'Percona-Server/storage/innobase/btr/btr0cur.cc' --- Percona-Server/storage/innobase/btr/btr0cur.cc 2013-09-13 06:51:47 +0000 +++ Percona-Server/storage/innobase/btr/btr0cur.cc 2013-09-15 09:00:41 +0000 @@ -1475,7 +1475,8 @@ dtuple_convert_back_big_rec(index, entry, big_rec_vec); }
- if (err == DB_FAIL && thr_get_trx(thr)->fake_changes) { + if (err == DB_FAIL && thr && thr_get_trx(thr) + && thr_get_trx(thr)->fake_changes) { fprintf(stderr, "btr_cur_optimistic_insert returning " "DB_FAIL\n"); }
Though this bug was never present in a release, it was not invalid. The patch for this was;
=== modified file 'Percona- Server/ storage/ innobase/ btr/btr0cur. cc' Server/ storage/ innobase/ btr/btr0cur. cc 2013-09-13 06:51:47 +0000 Server/ storage/ innobase/ btr/btr0cur. cc 2013-09-15 09:00:41 +0000
dtuple_ convert_ back_big_ rec(index, entry, big_rec_vec);
--- Percona-
+++ Percona-
@@ -1475,7 +1475,8 @@
}
- if (err == DB_FAIL && thr_get_ trx(thr) ->fake_ changes) { trx(thr) ->fake_ changes) {
fprintf( stderr, "btr_cur_ optimistic_ insert returning "
"DB_ FAIL\n" );
+ if (err == DB_FAIL && thr && thr_get_trx(thr)
+ && thr_get_
}