diff options
author | rowanbeentje <rowan@beent.je> | 2010-05-15 20:21:14 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-05-15 20:21:14 +0000 |
commit | d62f41c9fd22c868d3754917cde5a6d08624f0de (patch) | |
tree | 8620227f80d3749b4032d9ddcf1ebee8a5566d98 /Source/TableDocument.m | |
parent | 71bd1585cc7dae4b04f8aa61b0b5e468ceab41d5 (diff) | |
download | sequelpro-d62f41c9fd22c868d3754917cde5a6d08624f0de.tar.gz sequelpro-d62f41c9fd22c868d3754917cde5a6d08624f0de.tar.bz2 sequelpro-d62f41c9fd22c868d3754917cde5a6d08624f0de.zip |
Review queryDbStructureWithUserInfo:
- Remove extra call when changing databases, avoiding double calls
- Fix an error if the document has had no encoding set yet (addresses http://spbug.com/l/200)
- Tweak db struture querying to work on MySQL 3 and 4.0
- Rework function to remove duplicated logic, and to address a number of valueForUndefinedKey: exceptions logged via the bug tracker
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r-- | Source/TableDocument.m | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 3875c0a3..1b5d3a1f 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -4355,9 +4355,6 @@ } } - // Query the structure of all databases in the background (mainly for completion) - [NSThread detachNewThreadSelector:@selector(queryDbStructureWithUserInfo:) toTarget:mySQLConnection withObject:nil]; - [self endTask]; [taskPool drain]; } |