CVS update: php3/functions
| From: | tommay | Date: | Tue, 03 Nov 1998 19:31:11 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2169@lists.php.net to get a copy of this message | ||
Date: Tuesday November 3, 1998 @ 14:31
Author: tommay
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv2717
Modified Files:
sybase-ct.c
Log Message:
php3_sybct_query: increased bind data buffer lengths for worst case.
Index: php3/functions/sybase-ct.c
diff -c php3/functions/sybase-ct.c:1.48 php3/functions/sybase-ct.c:1.49
*** php3/functions/sybase-ct.c:1.48 Mon Nov 2 22:16:58 1998
--- php3/functions/sybase-ct.c Tue Nov 3 14:31:09 1998
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: sybase-ct.c,v 1.48 1998/11/03 03:16:58 tommay Exp $ */
#ifndef MSVC5
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: sybase-ct.c,v 1.49 1998/11/03 19:31:09 tommay Exp $ */
#ifndef MSVC5
***************
*** 818,833 ****
numerics[i] = 1;
break;
case CS_SMALLINT_TYPE:
! datafmt[i].maxlength = 6;
numerics[i] = 1;
break;
case CS_INT_TYPE:
! datafmt[i].maxlength = 11;
numerics[i] = 1;
break;
case CS_REAL_TYPE:
case CS_FLOAT_TYPE:
! datafmt[i].maxlength = 20;
numerics[i] = 1;
break;
case CS_MONEY_TYPE:
--- 818,833 ----
numerics[i] = 1;
break;
case CS_SMALLINT_TYPE:
! datafmt[i].maxlength = 7;
numerics[i] = 1;
break;
case CS_INT_TYPE:
! datafmt[i].maxlength = 12;
numerics[i] = 1;
break;
case CS_REAL_TYPE:
case CS_FLOAT_TYPE:
! datafmt[i].maxlength = 24;
numerics[i] = 1;
break;
case CS_MONEY_TYPE:
***************
*** 842,848 ****
break;
case CS_NUMERIC_TYPE:
case CS_DECIMAL_TYPE:
! datafmt[i].maxlength = CS_MAX_PREC+1;
numerics[i] = 1;
break;
default:
--- 842,848 ----
break;
case CS_NUMERIC_TYPE:
case CS_DECIMAL_TYPE:
! datafmt[i].maxlength = datafmt[i].precision + 3;
numerics[i] = 1;
break;
default:
--
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