From 7d10648fdbe4378b3b478572184c6b81d67b454d Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 17 Mar 2012 18:28:04 +0000 Subject: Fix build errors. --- Source/SPDatabaseDocument.m | 8 ++++---- 1 file 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]; -- cgit v1.2.3