Renamed folder cache creation method
parent
a54b3e4289
commit
be72456a9a
|
@ -329,7 +329,7 @@ static NSMapTable *contextsTable = nil;
|
||||||
tableName]])
|
tableName]])
|
||||||
{
|
{
|
||||||
queries = [channel specialQueries];
|
queries = [channel specialQueries];
|
||||||
query = [queries createOpenChangeFSTableWithName: tableName];
|
query = [queries createSOGoCacheGCSFolderTableWithName: tableName];
|
||||||
if ([channel evaluateExpressionX: query])
|
if ([channel evaluateExpressionX: query])
|
||||||
[NSException raise: @"MAPIStoreIOException"
|
[NSException raise: @"MAPIStoreIOException"
|
||||||
format: @"could not create special table '%@'", tableName];
|
format: @"could not create special table '%@'", tableName];
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
@interface GCSSpecialQueries (SOGoCacheObject)
|
@interface GCSSpecialQueries (SOGoCacheObject)
|
||||||
|
|
||||||
- (NSString *) createOpenChangeFSTableWithName: (NSString *) tableName;
|
- (NSString *) createSOGoCacheGCSFolderTableWithName: (NSString *) tableName;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
/* FIXME: c_parent_path should be indexed */
|
/* FIXME: c_parent_path should be indexed */
|
||||||
|
|
||||||
- (NSString *) createOpenChangeFSTableWithName: (NSString *) tableName
|
- (NSString *) createSOGoCacheGCSFolderTableWithName: (NSString *) tableName
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
@implementation GCSPostgreSQLSpecialQueries (SOGoObjectCache)
|
@implementation GCSPostgreSQLSpecialQueries (SOGoObjectCache)
|
||||||
|
|
||||||
- (NSString *) createOpenChangeFSTableWithName: (NSString *) tableName
|
- (NSString *) createSOGoCacheGCSFolderTableWithName: (NSString *) tableName
|
||||||
{
|
{
|
||||||
static NSString *sqlFolderFormat
|
static NSString *sqlFolderFormat
|
||||||
= (@"CREATE TABLE %@ ("
|
= (@"CREATE TABLE %@ ("
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
@implementation GCSMySQLSpecialQueries (SOGoObjectCache)
|
@implementation GCSMySQLSpecialQueries (SOGoObjectCache)
|
||||||
|
|
||||||
- (NSString *) createOpenChangeFSTableWithName: (NSString *) tableName
|
- (NSString *) createSOGoCacheGCSFolderTableWithName: (NSString *) tableName
|
||||||
{
|
{
|
||||||
static NSString *sqlFolderFormat
|
static NSString *sqlFolderFormat
|
||||||
= (@"CREATE TABLE %@ ("
|
= (@"CREATE TABLE %@ ("
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
|
|
||||||
@implementation GCSOracleSpecialQueries (SOGoObjectCache)
|
@implementation GCSOracleSpecialQueries (SOGoObjectCache)
|
||||||
|
|
||||||
- (NSString *) createOpenChangeFSTableWithName: (NSString *) tableName
|
- (NSString *) createSOGoCacheGCSFolderTableWithName: (NSString *) tableName
|
||||||
{
|
{
|
||||||
static NSString *sqlFolderFormat
|
static NSString *sqlFolderFormat
|
||||||
= (@"CREATE TABLE %@ ("
|
= (@"CREATE TABLE %@ ("
|
||||||
|
|
Loading…
Reference in New Issue