Skip to content

Commit

Permalink
Fixed a bug where CSQLResultCallback wasn't being initialized after b…
Browse files Browse the repository at this point in the history
…eing allocated.
  • Loading branch information
Igor Sutton committed Feb 19, 2012
1 parent c490ec9 commit 172c92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/MySQL/CSMySQLDatabase.m
Expand Up @@ -205,7 +205,7 @@ - (NSArray *)fetchRowsAsDictionariesWithSQL:(NSString *)sql
andValues:(NSArray *)values
error:(NSError **)error
{
CSQLResultCallback *callback = [CSQLResultCallback alloc];
CSQLResultCallback *callback = [[CSQLResultCallback alloc] init];
BOOL success = [self executeSQL:sql
withValues:values
receiver:callback
Expand Down

0 comments on commit 172c92a

Please sign in to comment.