Commit 013bea40 authored by Rich Prohaska's avatar Rich Prohaska

#59 get test_lock_timeout_callback to work with valgrind. change the type of a...

#59 get test_lock_timeout_callback to work with valgrind. change the type of a sync_fetch_and_add from bool to int
parent bdd2260d
...@@ -97,7 +97,7 @@ static DB_ENV *env; ...@@ -97,7 +97,7 @@ static DB_ENV *env;
static DB *db; static DB *db;
static DB_TXN *txn1, *txn2; static DB_TXN *txn1, *txn2;
static const int magic_key = 100; static const int magic_key = 100;
static bool callback_calls; static int callback_calls;
toku_pthread_t thread1; toku_pthread_t thread1;
static void lock_not_granted(DB *_db, uint64_t requesting_txnid, static void lock_not_granted(DB *_db, uint64_t requesting_txnid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment