diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-09-22 14:42:40 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-09-22 14:42:40 +0000 |
commit | f12e8dfc1453248b843efe9066570206c26bbdd6 (patch) | |
tree | 1dba57aa88976bb43e7fe09839989030c893a9a5 /Source/SPTableData.h | |
parent | 45243302a11f65b282059e03e3827f7b207b0fc7 (diff) | |
download | sequelpro-f12e8dfc1453248b843efe9066570206c26bbdd6.tar.gz sequelpro-f12e8dfc1453248b843efe9066570206c26bbdd6.tar.bz2 sequelpro-f12e8dfc1453248b843efe9066570206c26bbdd6.zip |
• fixed issue836 by avoiding the fact that while selecting a new table the CREATE SYNTAX will be parsed twice under certain circumstances which led to this issue
- introduced a isWorking mechanism to SPTableData; while SPTableData is updating its cache (ie the CREATE SYNTAX is being parsed) each request for values will return nil or an empty array; the caller is responsible to decide what to do
• various commenting stuff
• various speed improvements
Diffstat (limited to 'Source/SPTableData.h')
-rw-r--r-- | Source/SPTableData.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPTableData.h b/Source/SPTableData.h index 88b0a78f..ade1d30e 100644 --- a/Source/SPTableData.h +++ b/Source/SPTableData.h @@ -41,8 +41,12 @@ NSString *tableCreateSyntax; MCPConnection *mySQLConnection; + + BOOL isWorking; } +@property (readwrite, assign) BOOL isWorking; + - (void) setConnection:(MCPConnection *)theConnection; - (NSString *) tableEncoding; - (NSString *) tableCreateSyntax; |