diff options
author | stuconnolly <stuart02@gmail.com> | 2012-03-17 18:28:04 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-03-17 18:28:04 +0000 |
commit | 7d10648fdbe4378b3b478572184c6b81d67b454d (patch) | |
tree | 6f5c6c4bbd342911f6b2d04689e4bdb099598059 /Source/SPDatabaseDocument.m | |
parent | 9568839a6f8ae7f22c0b341959b4ce345117cf35 (diff) | |
download | sequelpro-7d10648fdbe4378b3b478572184c6b81d67b454d.tar.gz sequelpro-7d10648fdbe4378b3b478572184c6b81d67b454d.tar.bz2 sequelpro-7d10648fdbe4378b3b478572184c6b81d67b454d.zip |
Fix build errors.
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r-- | Source/SPDatabaseDocument.m | 8 |
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]; |