From: Danny Heijl Date: Wed, 5 Jul 2000 19:37:45 +0000 (+0000) Subject: - Increase allowed number of columns from 256 to 384. X-Git-Tag: PRE_METHOD_CALL_SEPERATE_FIX_PATCH~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f4c3eac9dd2f035ff235bdf0d659884a2937b50;p=php - Increase allowed number of columns from 256 to 384. --- diff --git a/ext/informix/ifx.ec b/ext/informix/ifx.ec index 759e0f9fc5..5a8d2536e8 100644 --- a/ext/informix/ifx.ec +++ b/ext/informix/ifx.ec @@ -366,7 +366,7 @@ PHP_INI_END() #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 @@ EXEC SQL END DECLARE SECTION; 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 @@ EXEC SQL END DECLARE SECTION; } 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)",