CVS update: php3/functions

From: Date: Fri, 11 Dec 1998 19:55:32 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-2787@lists.php.net to get a copy of this message
Date: Friday December 11, 1998 @ 14:55 Author: swilliam Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv3236/functions Modified Files: unified_odbc.c Log Message: Modified automatic HTML table generation to prevent double printing of VARCHAR fields when 'data truncated' information is passed from ODBC. Index: php3/functions/unified_odbc.c diff -c php3/functions/unified_odbc.c:1.93 php3/functions/unified_odbc.c:1.94 *** php3/functions/unified_odbc.c:1.93 Fri Dec 11 12:58:29 1998 --- php3/functions/unified_odbc.c Fri Dec 11 14:55:28 1998 *************** *** 29,35 **** +----------------------------------------------------------------------+ */ ! /* $Id: unified_odbc.c,v 1.93 1998/12/11 17:58:29 swilliam Exp $ */ /* This file is based on the Adabas D extension. * Adabas D will no longer be supported as separate module. --- 29,35 ---- +----------------------------------------------------------------------+ */ ! /* $Id: unified_odbc.c,v 1.94 1998/12/11 19:55:28 swilliam Exp $ */ /* This file is based on the Adabas D extension. * Adabas D will no longer be supported as separate module. *************** *** 1602,1614 **** efree(buf); RETURN_FALSE; } ! if (rc == SQL_SUCCESS_WITH_INFO) php3_printf(buf,result->longreadlen); else if (result->values[i].vallen == SQL_NULL_DATA){ php3_printf("&nbsp;</td>"); break; } ! php3_printf(buf, result->values[i].vallen); php3_printf("</td>"); break; --- 1602,1617 ---- efree(buf); RETURN_FALSE; } ! if (rc == SQL_SUCCESS_WITH_INFO) php3_printf(buf,result->longreadlen); else if (result->values[i].vallen == SQL_NULL_DATA){ php3_printf("&nbsp;</td>"); break; } ! else ! { ! php3_printf(buf, result->values[i].vallen); ! } php3_printf("</td>"); break; -- 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 (#2787) next »