|
|
@@ -785,6 +785,10 @@ - (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray*)arr
|
|
|
|
|
|
// Prefix the key with a colon.
|
|
|
NSString *parameterName = [[NSString alloc] initWithFormat:@":%@", dictionaryKey];
|
|
|
+
|
|
|
+ if (_traceExecution) {
|
|
|
+ NSLog(@"%@ = %@", parameterName, [dictionaryArgs objectForKey:dictionaryKey]);
|
|
|
+ }
|
|
|
|
|
|
// Get the index for the parameter name.
|
|
|
int namedIdx = sqlite3_bind_parameter_index(pStmt, [parameterName UTF8String]);
|
|
|
@@ -964,6 +968,9 @@ - (BOOL)executeUpdate:(NSString*)sql error:(NSError**)outErr withArgumentsInArra
|
|
|
// Prefix the key with a colon.
|
|
|
NSString *parameterName = [[NSString alloc] initWithFormat:@":%@", dictionaryKey];
|
|
|
|
|
|
+ if (_traceExecution) {
|
|
|
+ NSLog(@"%@ = %@", parameterName, [dictionaryArgs objectForKey:dictionaryKey]);
|
|
|
+ }
|
|
|
// Get the index for the parameter name.
|
|
|
int namedIdx = sqlite3_bind_parameter_index(pStmt, [parameterName UTF8String]);
|
|
|
|