mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
[t:5144], do not prepare transactions that need to be aborted
git-svn-id: file:///svn/toku/tokudb@44967 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
57d1435693
commit
9083c11d40
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ static void *worker(void *arg_v) {
|
|||
r = env->txn_begin(env, 0, &txn, arg->txn_type); CKERR(r);
|
||||
}
|
||||
r = arg->operation(txn, arg, arg->operation_extra, we->counters);
|
||||
if (!arg->cli->single_txn && arg->do_prepare) {
|
||||
if (r==0 && !arg->cli->single_txn && arg->do_prepare) {
|
||||
u_int8_t gid[DB_GID_SIZE];
|
||||
memset(gid, 0, DB_GID_SIZE);
|
||||
u_int64_t gid_val = txn->id64(txn);
|
||||
|
|
Loading…
Add table
Reference in a new issue