CVS update: php3/functions

From: Date: Tue, 18 Aug 1998 18:14:25 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-298@lists.php.net to get a copy of this message
Date: Tuesday August 18, 1998 @ 14:14 Author: danny Update of /repository/php3/functions In directory asf:/tmp/cvs-serv12332/functions Modified Files: ifx.ec Log Message: more blob bug corrections, and probably more to follow. Index: php3/functions/ifx.ec diff -c php3/functions/ifx.ec:1.10 php3/functions/ifx.ec:1.11 *** php3/functions/ifx.ec:1.10 Mon Aug 17 14:20:12 1998 --- php3/functions/ifx.ec Tue Aug 18 14:14:25 1998 *************** *** 1631,1636 **** --- 1631,1637 ---- } switch (ifx_check()) { case IFX_ERROR: + /* might have to check for -451 here */ php3_error(E_WARNING, "Can not fetch next row on cursor %s (%s)", ifx_error(ifx), *************** *** 1673,1678 **** --- 1674,1681 ---- if (indicator == -1) { /* NULL */ add_assoc_string(return_value, fieldname, "NULL", DUP); + if ((fieldtype == SQLBYTES) || (fieldtype == SQLTEXT)) + ++locind; continue; } switch (fieldtype) { *************** *** 2198,2203 **** --- 2201,2207 ---- EXEC SQL FETCH :cursorid USING SQL DESCRIPTOR :descrpid; switch (ifx_check()) { case IFX_ERROR: + /* might have to check for -451 here */ php3_error(E_WARNING, "Can not fetch next row on cursor %s (%s)", ifx_error(ifx), *************** *** 2265,2270 **** --- 2269,2276 ---- if (indicator == -1) { /* NULL */ php3_printf("<td>NULL</td>"); + if ((fieldtype == SQLBYTES) || (fieldtype == SQLTEXT)) + ++locind; continue; } switch (fieldtype) { *************** *** 2364,2369 **** --- 2370,2376 ---- EXEC SQL FETCH :cursorid USING SQL DESCRIPTOR :descrpid; switch (ifx_check()) { case IFX_ERROR: + /* might have to check for -451 here */ php3_error(E_WARNING, "Can not fetch next row on cursor %s (%s)", ifx_error(ifx), -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#298) next »