Commit 1bc3cc75 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4685 fix icc compilation problem with hotindexer test refs[t:4685]

git-svn-id: file:///svn/toku/tokudb@41738 c7de825b-a66e-492c-adef-691d508d4ae1
parent e36429c1
...@@ -58,9 +58,9 @@ live_add(struct live *live, TXNID xid, TOKUTXN_STATE state) { ...@@ -58,9 +58,9 @@ live_add(struct live *live, TXNID xid, TOKUTXN_STATE state) {
live->txns[live->o++] = (struct txn ) { xid, state }; live->txns[live->o++] = (struct txn ) { xid, state };
} }
static int static TOKUTXN_STATE
lookup_txn_state(struct live *live, TXNID xid) { lookup_txn_state(struct live *live, TXNID xid) {
int r = TOKUTXN_RETIRED; TOKUTXN_STATE r = TOKUTXN_RETIRED;
for (int i = 0; i < live->o; i++) { for (int i = 0; i < live->o; i++) {
if (live->txns[i].xid == xid) { if (live->txns[i].xid == xid) {
r = live->txns[i].state; r = live->txns[i].state;
......
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