Collection<Table> tables1 = CatalogUtil.getReferencedTables(proc1);
for (Table tbl : tables1) {
if (proc1.getReadonly()) {
txn1.markTableRead(BASE_PARTITION, tbl);
} else {
txn1.markTableWritten(BASE_PARTITION, tbl);
}
} // FOR
// XXX: This test is not really useful because we're not actually
// trying to guess whether there is a conflict. We're just throwing