aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TablesList.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-06-24 23:52:47 +0000
committerrowanbeentje <rowan@beent.je>2009-06-24 23:52:47 +0000
commitc118f1a8166d1c612bed66ab64235cab6111a3cd (patch)
tree2a4e12d348f0c5f67d69d7974ae3481cbe24737a /Source/TablesList.m
parent15981eb3fbf5438de932c7b815707f3c6a7f0110 (diff)
downloadsequelpro-c118f1a8166d1c612bed66ab64235cab6111a3cd.tar.gz
sequelpro-c118f1a8166d1c612bed66ab64235cab6111a3cd.tar.bz2
sequelpro-c118f1a8166d1c612bed66ab64235cab6111a3cd.zip
- Make changes to the table structure flush the appropriate table data caches
- SPTableData's columnWithName: now updates caches as necessary to avoid issues - Mark the extended table info view (particularly the CREATE TABLE syntax) as requiring update following table structure changes
Diffstat (limited to 'Source/TablesList.m')
-rw-r--r--Source/TablesList.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m
index b4f8b7c2..d07fe544 100644
--- a/Source/TablesList.m
+++ b/Source/TablesList.m
@@ -960,6 +960,14 @@
contentLoaded = !reload;
}
+/**
+ * Mark the exteded table info for refresh when it's next switched to
+ */
+- (void)setStatusRequiresReload:(BOOL)reload
+{
+ statusLoaded = !reload;
+}
+
#pragma mark Datasource methods
/**