aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorbamse16 <marius@marius.me.uk>2009-03-02 18:51:39 +0000
committerbamse16 <marius@marius.me.uk>2009-03-02 18:51:39 +0000
commit0c76ebee65bdbb8a7319baf54743b0f68483d143 (patch)
tree12fcaf9023a075d68b7226734066e2f3d2eb776c /Source
parent0bf8e6ff980425d16c4411f4b375a809940ae49b (diff)
downloadsequelpro-0c76ebee65bdbb8a7319baf54743b0f68483d143.tar.gz
sequelpro-0c76ebee65bdbb8a7319baf54743b0f68483d143.tar.bz2
sequelpro-0c76ebee65bdbb8a7319baf54743b0f68483d143.zip
Rollback on newbie mistake...
Diffstat (limited to 'Source')
-rw-r--r--Source/CMMCPConnection.m11
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