oc/util: Tune dbmsgreader for new caching classes names
parent
5ee8cb3a3f
commit
b8366d796d
|
@ -39,7 +39,7 @@
|
||||||
#import <SOGo/BSONCodec.h>
|
#import <SOGo/BSONCodec.h>
|
||||||
#import "NSObject+PropertyList.h"
|
#import "NSObject+PropertyList.h"
|
||||||
|
|
||||||
Class MAPIStoreUserContextK, SOGoMAPIDBObjectK;
|
Class MAPIStoreUserContextK, SOGoCacheGCSObjectK;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
DumpBSONData(NSData *data)
|
DumpBSONData(NSData *data)
|
||||||
|
@ -60,7 +60,7 @@ DbDumpObject (NSString *username, NSString *path)
|
||||||
|
|
||||||
ctx = [MAPIStoreUserContextK userContextWithUsername: username
|
ctx = [MAPIStoreUserContextK userContextWithUsername: username
|
||||||
andTDBIndexing: NULL];
|
andTDBIndexing: NULL];
|
||||||
dbobject = [SOGoMAPIDBObjectK new];
|
dbobject = [SOGoCacheGCSObjectK new];
|
||||||
[dbobject setTableUrl: [ctx folderTableURL]];
|
[dbobject setTableUrl: [ctx folderTableURL]];
|
||||||
record = [dbobject lookupRecord: path newerThanVersion: -1];
|
record = [dbobject lookupRecord: path newerThanVersion: -1];
|
||||||
if (record)
|
if (record)
|
||||||
|
@ -107,7 +107,7 @@ int main (int argc, char *argv[], char *envp[])
|
||||||
[loader loadProducts: [NSArray arrayWithObject: BACKEND_BUNDLE_NAME]];
|
[loader loadProducts: [NSArray arrayWithObject: BACKEND_BUNDLE_NAME]];
|
||||||
|
|
||||||
MAPIStoreUserContextK = NSClassFromString (@"MAPIStoreUserContext");
|
MAPIStoreUserContextK = NSClassFromString (@"MAPIStoreUserContext");
|
||||||
SOGoMAPIDBObjectK = NSClassFromString (@"SOGoMAPIDBObject");
|
SOGoCacheGCSObjectK = NSClassFromString (@"SOGoCacheGCSObject");
|
||||||
|
|
||||||
arguments = [[NSProcessInfo processInfo] arguments];
|
arguments = [[NSProcessInfo processInfo] arguments];
|
||||||
if ([arguments count] > 2) {
|
if ([arguments count] > 2) {
|
||||||
|
|
Loading…
Reference in New Issue