[Kamailio-Devel] SF.net SVN: openser:[5234] branches

Henning Westerholt henning.westerholt at 1und1.de
Thu Nov 20 18:08:17 CET 2008


Revision: 5234
          http://openser.svn.sourceforge.net/openser/?rev=5234&view=rev
Author:   henningw
Date:     2008-11-20 17:08:17 +0000 (Thu, 20 Nov 2008)

Log Message:
-----------
- backport from trunk, rev5199
- fix postgres NULL value behaviour: as in postgres a NULL value is
  represented from an empty string (just as a empty value), we need
  to check it with PQgetisnull
- as further processing steps assume that we use the mysql behaviour,
  were a NULL value is represented from a NULL string, we need to
  simulate this here
- better would be to get rid of this row_buf completely, and to use
  just some function parameter to signalize NULLs to the later steps
- synchronize db_postgres_val2str behaviour to the mysql and unixodbc
  modules, fail also in the NULL case when the buffer is to small
- additional fix for the 1.3 module: don't try to free the buffer when
  its include the dummy string for NULL (not necessary for trunk, 1.4)

Revision Links:
--------------
    http://openser.svn.sourceforge.net/openser/?rev=5199&view=rev

Modified Paths:
--------------
    branches/1.3/modules/postgres/db_res.c
    branches/1.3/modules/postgres/db_val.c
    branches/1.4/modules/db_postgres/res.c
    branches/1.4/modules/db_postgres/val.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