diff --git a/SOPE/GDLContentStore/ChangeLog b/SOPE/GDLContentStore/ChangeLog index 2404379eb..02d175214 100644 --- a/SOPE/GDLContentStore/ChangeLog +++ b/SOPE/GDLContentStore/ChangeLog @@ -1,5 +1,11 @@ 2008-06-30 Wolfgang Sourdeau + * GCSFolder.m ([GCSFolder -recordOfEntryWithName:name]) + ([GCSFolder -writeContent:_contenttoName:_namebaseVersion:_baseVersion]) + ([GCSFolder -fetchFields:fieldsfetchSpecification:spec]): don't + use the "as" keyword when specifying multiple tables, so that + Oracle doesn't choke on the queries. + * EOAdaptorChannel+GCS.m ([EOAdaptorChannel -dropTables:tableNames]): new method that drops a list of tables. diff --git a/SOPE/GDLContentStore/GCSFolder.m b/SOPE/GDLContentStore/GCSFolder.m index 544381f82..2a1e87b1b 100644 --- a/SOPE/GDLContentStore/GCSFolder.m +++ b/SOPE/GDLContentStore/GCSFolder.m @@ -449,7 +449,7 @@ static NSArray *contentFieldNames = nil; [sql appendString: @"*"]; [sql appendString:@" FROM "]; if (requirement == bothTableRequired) - [sql appendFormat: @"%@ as a, %@ as b", + [sql appendFormat: @"%@ a, %@ b", [self quickTableName], [self storeTableName]]; else {