139140141142143144145146147148149
clearAllData(session); if (cache != null) { database.logger.closeTextCache(this); store.release(); } // everything is in order here. // At this point table should either have a valid (old) data // source and cache or have an empty source and null cache.
164165166167168169170171172173174
this.store = null; PersistentStore store = database.persistentStoreCollection.getStore(this); store.release(); isConnected = false; } /**
382383384385386387388389390391392
Row row = it.getNextRow(); store.indexRow(session, row); } } catch (Throwable t) { store.release(); if (t instanceof HsqlException) { throw (HsqlException) t; }
12981299130013011302130313041305130613071308
database.persistentStoreCollection.getStore(newTable); try { newStore.moveData(session, oldStore, colIndex, adjust); } catch (HsqlException e) { newStore.release(); database.persistentStoreCollection.setStore(newTable, null); throw e; }
138139140141142143144145146147148
163164165166167168169170171172173
145146147148149150151152153154155
170171172173174175176177178179180
21812182218321842185218621872188218921902191
} store.indexRow(null, newrow); } } catch (Throwable t) { store.release(); if (t instanceof HsqlException) { throw (HsqlException) t; }