aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2016-02-17 14:42:45 +0100
committerMax <post@wickenrode.com>2016-02-17 14:42:45 +0100
commitefe4c9e1e2a3304c53f7dddeb0af0cd5ef97c0d5 (patch)
tree231052a37627282d396621b4a1c4585ff875efb5
parent7374c4a5e62e9dfe5b725478fc491960082df926 (diff)
downloadsequelpro-efe4c9e1e2a3304c53f7dddeb0af0cd5ef97c0d5.tar.gz
sequelpro-efe4c9e1e2a3304c53f7dddeb0af0cd5ef97c0d5.tar.bz2
sequelpro-efe4c9e1e2a3304c53f7dddeb0af0cd5ef97c0d5.zip
Fix an issue where auto completion in query editor would not work in some cases (#2406)
Issue introduced in 0b9fb7e62aeba608081eb3ca1bc52dc7020c8add
-rw-r--r--Source/SPDatabaseStructure.m1
1 files changed, 1 insertions, 0 deletions
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;