for (Procedure proc0 : catalogContext.getRegularProcedures()) {
LocalTransaction txn0 = this.createTransaction(proc0);
Collection<Table> tables0 = CatalogUtil.getReferencedTables(proc0);
for (Table tbl : tables0) {
if (proc0.getReadonly()) {
txn0.markTableRead(BASE_PARTITION, tbl);
} else {
txn0.markTableWritten(BASE_PARTITION, tbl);
}
} // FOR