Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Enable the manual vaccuum flag when opening the activity log. Index t…

…he date field of the activity monitor.
  • Loading branch information...
commit ccfc6bc148d251f8c498e1478de557e07da3f63a 1 parent 75d9225
Kent Sutherland authored
View
BIN  ActivityModel.xcdatamodel/elements
Binary file not shown
View
BIN  ActivityModel.xcdatamodel/layout
Binary file not shown
View
6 ActivityWindowController.m
@@ -127,7 +127,11 @@ - (NSManagedObjectContext *)managedObjectContext
} else {
NSLog(@"Error migrating store: %@", error);
}
- } else if (![persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:url options:nil error:&error]) {
+ } else if (![persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType
+ configuration:nil
+ URL:url
+ options:[NSDictionary dictionaryWithObject:[NSNumber numberWithBool:YES] forKey:NSSQLiteManualVacuumOption]
+ error:&error]) {
[[NSApplication sharedApplication] presentError:error];
}
Please sign in to comment.
Something went wrong with that request. Please try again.