cvs: php4 /ext/informix ifx.ec

From: Date: Wed, 05 Jul 2000 19:37:44 +0000
Subject: cvs: php4 /ext/informix ifx.ec
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-633@lists.php.net to get a copy of this message
danny Wed Jul 5 12:37:44 2000 EDT Modified files: /php4/ext/informix ifx.ec Log: - Increase allowed number of columns from 256 to 384. Index: php4/ext/informix/ifx.ec diff -u php4/ext/informix/ifx.ec:1.38 php4/ext/informix/ifx.ec:1.39 --- php4/ext/informix/ifx.ec:1.38 Sat Jun 24 08:36:04 2000 +++ php4/ext/informix/ifx.ec Wed Jul 5 12:37:44 2000 @@ -366,7 +366,7 @@ #ifdef ZTS static void php_ifx_init_globals(php_ifx_globals *ifx_globals) { - IFXG(num_persistent) = 0; + IFXG(num_persistent) = 0; IFXG(nullvalue) = malloc(1); IFXG(nullvalue)[0] = 0; IFXG(nullstring) = malloc(5); @@ -947,7 +947,7 @@ affected_rows = sqlca.sqlerrd[0]; /* save estimated affected rows */ for (e = 0; e < 6; e++) sqlerrd[e] = sqlca.sqlerrd[e]; - EXEC SQL ALLOCATE DESCRIPTOR :descrpid WITH MAX 256; + EXEC SQL ALLOCATE DESCRIPTOR :descrpid WITH MAX 384; if (ifx_check() < 0) { IFXG(sv_sqlcode) = SQLCODE; php_error(E_WARNING,"Allocate desciptor <%s> fails (%s)", @@ -1333,7 +1333,7 @@ } affected_rows = sqlca.sqlerrd[0]; /* save estimated affected rows */ for (e = 0; e < 6; e++) sqlerrd[e] = sqlca.sqlerrd[e]; - EXEC SQL ALLOCATE DESCRIPTOR :descrpid WITH MAX 256; + EXEC SQL ALLOCATE DESCRIPTOR :descrpid WITH MAX 384; if (ifx_check() < 0) { IFXG(sv_sqlcode) = SQLCODE; php_error(E_WARNING,"Allocate desciptor <%s> fails (%s)",

« previous php.cvs (#633) next »