mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-16 00:21:39 +00:00
Fix incorrect comparison operator.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@37725 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bd40e7b084
commit
d1beaed950
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-03-05 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Postgres.m (backendExecute:):
|
||||
Fix incorrect comparison operator.
|
||||
|
||||
2014-02-21 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* SQLClient.h:
|
||||
|
|
|
@ -399,7 +399,7 @@ connectQuote(NSString *str)
|
|||
stmt, str];
|
||||
}
|
||||
if (PQresultStatus(result) != PGRES_COMMAND_OK
|
||||
&& PQresultStatus(result) == PGRES_TUPLES_OK)
|
||||
&& PQresultStatus(result) != PGRES_TUPLES_OK)
|
||||
{
|
||||
[NSException raise: SQLException format: @"Error executing %@: %s",
|
||||
stmt, PQresultErrorMessage(result)];
|
||||
|
|
Loading…
Reference in a new issue