aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-03-17 18:28:04 +0000
committerstuconnolly <stuart02@gmail.com>2012-03-17 18:28:04 +0000
commit7d10648fdbe4378b3b478572184c6b81d67b454d (patch)
tree6f5c6c4bbd342911f6b2d04689e4bdb099598059 /Source
parent9568839a6f8ae7f22c0b341959b4ce345117cf35 (diff)
downloadsequelpro-7d10648fdbe4378b3b478572184c6b81d67b454d.tar.gz
sequelpro-7d10648fdbe4378b3b478572184c6b81d67b454d.tar.bz2
sequelpro-7d10648fdbe4378b3b478572184c6b81d67b454d.zip
Fix build errors.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPDatabaseDocument.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index 09f24d7a..cff43d9b 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -613,10 +613,10 @@ static NSString *SPCreateSyntx = @"SPCreateSyntax";
// If the database is either information_schema or mysql then it is classed as a
// system table; similarly, for 5.5.3+, performance_schema
- if ([database isEqualToString:SPMySQLDatabase] ||
- [database isEqualToString:SPMySQLInformationSchemaDatabase] ||
- [database isEqualToString:SPMySQLPerformanceSchemaDatabase]) {
- [allSystemDatabases addObject:database];
+ if ([databaseName isEqualToString:SPMySQLDatabase] ||
+ [databaseName isEqualToString:SPMySQLInformationSchemaDatabase] ||
+ [databaseName isEqualToString:SPMySQLPerformanceSchemaDatabase]) {
+ [allSystemDatabases addObject:databaseName];
}
else {
[allDatabases addObject:databaseName];