From: <dav...@us...> - 2009-01-13 02:05:13
|
Revision: 223 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=223&view=rev Author: davydgeyl Date: 2009-01-13 02:05:10 +0000 (Tue, 13 Jan 2009) Log Message: ----------- NSLog must not be used in release Modified Paths: -------------- trunk/PGSQLKit/PGSQLConnection.m Modified: trunk/PGSQLKit/PGSQLConnection.m =================================================================== --- trunk/PGSQLKit/PGSQLConnection.m 2009-01-08 21:51:42 UTC (rev 222) +++ trunk/PGSQLKit/PGSQLConnection.m 2009-01-13 02:05:10 UTC (rev 223) @@ -137,10 +137,12 @@ } NSAssert( (connectionString != nil), @"Attempted to connect to PostgreSQL with empty connectionString."); pgconn = (PGconn *)PQconnectdb([connectionString cString]); +#ifdef DEBUG if (PQoptions(pgconn)) { NSLog(@"Options: %s", PQoptions(pgconn)); } +#endif if (PQstatus(pgconn) == CONNECTION_BAD) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |