Date: 12/28/98
- Next message: Zeev Suraski: "[PHP-DEV] Re: [PHP3] Memory Issues"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] CVS update: php3/functions"
- Next in thread: sas: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Monday December 28, 1998 @ 15:31
Author: zeev
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv11636/functions
Modified Files:
pgsql.c
Log Message:
Don't add NULL elements to the result set
Index: php3/functions/pgsql.c
diff -c php3/functions/pgsql.c:1.78 php3/functions/pgsql.c:1.79
*** php3/functions/pgsql.c:1.78 Mon Dec 28 14:22:37 1998
--- php3/functions/pgsql.c Mon Dec 28 15:31:00 1998
***************
*** 28,34 ****
+----------------------------------------------------------------------+
*/
! /* $Id: pgsql.c,v 1.78 1998/12/28 19:22:37 eschmid Exp $ */
#include <stdlib.h>
--- 28,34 ----
+----------------------------------------------------------------------+
*/
! /* $Id: pgsql.c,v 1.79 1998/12/28 20:31:00 zeev Exp $ */
#include <stdlib.h>
***************
*** 913,923 ****
} else {
tmp = estrndup(element, element_len);
}
} else {
! tmp = estrdup(empty_string);
! element_len = 0;
}
- add_index_stringl(return_value, i, tmp, element_len, 0);
}
}
/* }}} */
--- 913,922 ----
} else {
tmp = estrndup(element, element_len);
}
+ add_index_stringl(return_value, i, tmp, element_len, 0);
} else {
! /* element is NULL, don't add it */
}
}
}
/* }}} */
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Zeev Suraski: "[PHP-DEV] Re: [PHP3] Memory Issues"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] CVS update: php3/functions"
- Next in thread: sas: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

