From efe4c9e1e2a3304c53f7dddeb0af0cd5ef97c0d5 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 17 Feb 2016 14:42:45 +0100 Subject: Fix an issue where auto completion in query editor would not work in some cases (#2406) Issue introduced in 0b9fb7e62aeba608081eb3ca1bc52dc7020c8add --- Source/SPDatabaseStructure.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/SPDatabaseStructure.m b/Source/SPDatabaseStructure.m index a4663268..b1bed3c9 100644 --- a/Source/SPDatabaseStructure.m +++ b/Source/SPDatabaseStructure.m @@ -275,6 +275,7 @@ // Set up the database as an empty mutable dictionary ready for tables, and store a reference [queriedStructure setObject:[NSMutableDictionary dictionary] forKey:db_id]; NSMutableDictionary *databaseStructure = [queriedStructure objectForKey:db_id]; + structureWasUpdated = YES; NSUInteger uniqueCounter = 0; // used to make field data unique SPMySQLResult *theResult; -- cgit v1.2.3