diff options
-rw-r--r-- | Source/SPTableRelations.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableRelations.m b/Source/SPTableRelations.m index 5da03fcc..d83d7ec5 100644 --- a/Source/SPTableRelations.m +++ b/Source/SPTableRelations.m @@ -150,7 +150,7 @@ [refTablePopUpButton removeAllItems]; // Get all InnoDB tables in the current database - MCPResult *result = [connection queryString:[NSString stringWithFormat:@"SELECT table_name FROM information_schema.tables WHERE table_type = 'BASE TABLE' AND engine = 'InnoDB' AND table_schema = '%@' AND table_name != '%@'", [tableDocumentInstance database], [tablesListInstance tableName]]]; + MCPResult *result = [connection queryString:[NSString stringWithFormat:@"SELECT table_name FROM information_schema.tables WHERE table_type = 'BASE TABLE' AND engine = 'InnoDB' AND table_schema = '%@'", [tableDocumentInstance database]]]; [result dataSeek:0]; |