From 0c76ebee65bdbb8a7319baf54743b0f68483d143 Mon Sep 17 00:00:00 2001 From: bamse16 Date: Mon, 2 Mar 2009 18:51:39 +0000 Subject: Rollback on newbie mistake... --- Source/CMMCPConnection.m | 11 +---------- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3