iliaa           Mon Dec 22 10:56:52 2003 EDT

  Modified files:              
    /php-src/ext/pgsql  pgsql.c 
  Log:
  Missing bit for bug #26625.
  
  
Index: php-src/ext/pgsql/pgsql.c
diff -u php-src/ext/pgsql/pgsql.c:1.300 php-src/ext/pgsql/pgsql.c:1.301
--- php-src/ext/pgsql/pgsql.c:1.300     Mon Dec 15 20:00:34 2003
+++ php-src/ext/pgsql/pgsql.c   Mon Dec 22 10:56:51 2003
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
  */
  
-/* $Id: pgsql.c,v 1.300 2003/12/16 01:00:34 iliaa Exp $ */
+/* $Id: pgsql.c,v 1.301 2003/12/22 15:56:51 iliaa Exp $ */
 
 #include <stdlib.h>
 
@@ -3772,9 +3772,8 @@
                                                if (Z_STRLEN_PP(val) == 0) {
                                                        if (opt & 
PGSQL_CONV_FORCE_NULL) {
                                                                ZVAL_STRING(new_val, 
"NULL", 1);
-                                                       }
-                                                       else {
-                                                               ZVAL_STRING(new_val, 
empty_string, 1);
+                                                       } else {
+                                                               ZVAL_STRING(new_val, 
"''", 1);
                                                        }
                                                }
                                                else {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to