Changeset 2147
- Timestamp:
- 07/07/09 12:55:24 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.DB/3.3/Store.cs
r2138 r2147 60 60 lock (bigLock) { 61 61 store.Add(Translate(statement)); 62 InvalidateCachedStore(); 62 63 } 63 64 } … … 89 90 cachedStore.Import(store); 90 91 } 92 93 private void InvalidateCachedStore() { 94 if (cachedStore != null) { 95 cachedStore.Dispose(); 96 cachedStore = null; 97 } 98 } 99 91 100 92 101 public ICollection<VariableBindings> Query(ICollection<Statement> query, int page, int pageSize) {
Note: See TracChangeset
for help on using the changeset viewer.