mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
refs #5153 fix typo made during cleanup
git-svn-id: file:///svn/toku/tokudb@45059 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
d2b02de315
commit
864e6270a2
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ toku_txn_release_locks(DB_TXN* txn) {
|
|||
static void
|
||||
toku_txn_destroy(DB_TXN *txn) {
|
||||
int32_t open_txns = __sync_sub_and_fetch(&txn->mgrp->i->open_txns, 1);
|
||||
invariant(open-txns > 0);
|
||||
invariant(open-txns >= 0);
|
||||
toku_txn_destroy_txn(db_txn_struct_i(txn)->tokutxn);
|
||||
toku_mutex_destroy(&db_txn_struct_i(txn)->txn_mutex);
|
||||
#if !TOKUDB_NATIVE_H
|
||||
|
|
Loading…
Add table
Reference in a new issue