diff options
Diffstat (limited to 'Source/SPDatabaseViewController.m')
-rw-r--r-- | Source/SPDatabaseViewController.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPDatabaseViewController.m b/Source/SPDatabaseViewController.m index a7867c53..03153230 100644 --- a/Source/SPDatabaseViewController.m +++ b/Source/SPDatabaseViewController.m @@ -426,6 +426,12 @@ if (changeEncoding) [mySQLConnection restoreStoredEncoding]; + // Cache table information on the working thread + if (selectedTableType == SPTableTypeView) + [tableDataInstance updateInformationForCurrentView]; + else + [tableDataInstance updateInformationForCurrentTable]; + // Notify listeners of the table change now that the state is fully set up. [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:SPTableChangedNotification object:self]; |