diff options
-rw-r--r-- | Source/CMMCPConnection.m | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Source/CMMCPConnection.m b/Source/CMMCPConnection.m index 31efb4a1..df1de415 100644 --- a/Source/CMMCPConnection.m +++ b/Source/CMMCPConnection.m @@ -329,8 +329,6 @@ WARNING : incomplete implementation. Please, send your fixes. [delegate willQueryString:query]; } - NSDate *startQueryDate = [NSDate date]; - if (0 == (theQueryCode = mysql_query(mConnection, theCQuery))) { if (mysql_field_count(mConnection) != 0) { @@ -349,13 +347,6 @@ WARNING : incomplete implementation. Please, send your fixes. return nil; } - //Log how long the query took - if (delegate && [delegate respondsToSelector:@selector(willQueryString:)]) { - NSString *timedQuery = [NSString stringWithFormat:@"%@ /* %.2f */", query, [[NSDate date] timeIntervalSinceDate:startQueryDate]]; - [delegate willQueryString:timedQuery]; - } - - [self startKeepAliveTimerResettingState:YES]; return [theResult autorelease]; @@ -611,4 +602,4 @@ static void forcePingTimeout(int signalNumber) } lastKeepAliveSuccess = [[NSDate alloc] initWithTimeIntervalSinceNow:0]; } -@end
\ No newline at end of file +@end |