From d62f41c9fd22c868d3754917cde5a6d08624f0de Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 15 May 2010 20:21:14 +0000 Subject: 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 --- Source/TableDocument.m | 3 --- 1 file changed, 3 deletions(-) (limited to 'Source') 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]; } -- cgit v1.2.3