[OpenSER-Devel] SF.net SVN: openser: [4471] trunk/modules/db_postgres/dbase.c
Henning Westerholt
henning.westerholt at 1und1.de
Thu Jul 10 10:49:28 CEST 2008
Revision: 4471
http://openser.svn.sourceforge.net/openser/?rev=4471&view=rev
Author: henningw
Date: 2008-07-10 01:49:27 -0700 (Thu, 10 Jul 2008)
Log Message:
-----------
- further bug fixes for db_postgres_fetch_result and db_postgres_store_result
- return also for all other abnormal query states an error, as the result set
is here set to zero too
- this is probably a little bit to strict, but in the openser context this
types normally should not happen
- as the old behaviour could lead to crashes if this gets eventually reported
from the driver, this is surely an improvement :-)
(most query user check only for return value < 0, and not for == 0)
- in case for the PGRES_EMPTY_QUERY this could be not recognized as error
from upper layers at all, as this is defined as zero in the pg driver..
- small indention fixes
Modified Paths:
--------------
trunk/modules/db_postgres/dbase.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Devel
mailing list