abies Mon May 31 04:33:43 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/informix ifx.ec
Log:
Fix build
http://cvs.php.net/diff.php/php-src/ext/informix/ifx.ec?r1=1.69.2.24&r2=1.69.2.25&ty=u
Index: php-src/ext/informix/ifx.ec
diff -u php-src/ext/informix/ifx.ec:1.69.2.24 php-src/ext/informix/ifx.ec:1.69.2.25
--- php-src/ext/informix/ifx.ec:1.69.2.24 Sun May 30 14:58:48 2004
+++ php-src/ext/informix/ifx.ec Mon May 31 04:33:42 2004
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ifx.ec,v 1.69.2.24 2004/05/30 18:58:48 iliaa Exp $ */
+/* $Id: ifx.ec,v 1.69.2.25 2004/05/31 08:33:42 abies Exp $ */
/* -------------------------------------------------------------------
* if you want a function reference : "grep '^\*\*' ifx.ec" will give
@@ -126,8 +126,8 @@
#define PHP_IFX_CHECK_CONNECTION(ifx) \
{ \
if (ifx_check() < 0) { \
- IFXG(sv_sqlcode) = SQLCODE; \
char *ifx_err = ifx_error(ifx); \
+ IFXG(sv_sqlcode) = SQLCODE; \
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Set connection %s fails
(%s)", ifx, ifx_err); \
efree(ifx_err); \
RETURN_FALSE; \
@@ -289,7 +289,7 @@
PARAMETER char *link;
EXEC SQL END DECLARE SECTION;
{
- char *ifx_err = null;
+ char *ifx_err = NULL;
TSRMLS_FETCH();
EXEC SQL SET CONNECTION :link;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php