if (state.ABORTREADERS) {
output.println("if (_setjmp(trans->aborttrans)) {");
- output.println(" free(trans)");
+ output.println(" free(trans);");
output.println(" goto transretry"+faen.getIdentifier()+"; }");
}
}
//abort this transaction
printf("ABORTING\n");
objstrDelete(record->cache);
- chashDelete(record->longTable);
+ chashDelete(record->lookupTable);
_longjmp(record->aborttrans,1);
} else
addtransaction(oid,record);
//abort this transaction
printf("ABORTING TRANSACTION AT COMMIT\n");
objstrDelete(record->cache);
- chashDelete(record->longTable);
+ chashDelete(record->lookupTable);
free(record);
return 1;
}