Skip to content

Commit

Permalink
Fixing typo in debug log message that is displayed when the user has …
Browse files Browse the repository at this point in the history
…the improper number of arguments bound to a given query.
  • Loading branch information
BBonifield committed Aug 2, 2011
1 parent 7ffecac commit 18ef9c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EGODatabase.m
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ - (BOOL)executeUpdate:(NSString*)sql parameters:(NSArray*)parameters {


if (![self bindStatement:statement toParameters:parameters]) {
EGODBDebugLog(@"[EGODatabase] Invalid bind cound for number of arguments.");
EGODBDebugLog(@"[EGODatabase] Invalid bind count for number of arguments.");
sqlite3_finalize(statement);
EGODBLockLog(@"%@ released lock", [sql md5]);
[executeLock unlock];
Expand Down Expand Up @@ -250,7 +250,7 @@ - (EGODatabaseResult*)executeQuery:(NSString*)sql parameters:(NSArray*)parameter
}

if (![self bindStatement:statement toParameters:parameters]) {
EGODBDebugLog(@"[EGODatabase] Invalid bind cound for number of arguments.");
EGODBDebugLog(@"[EGODatabase] Invalid bind count for number of arguments.");
sqlite3_finalize(statement);
EGODBLockLog(@"%@ released lock", [sql md5]);
[executeLock unlock];
Expand Down

0 comments on commit 18ef9c6

Please sign in to comment.