CVS update: php3/functions

From: Date: Thu, 24 Jun 1999 08:07:10 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-7492@lists.php.net to get a copy of this message
Date: Thursday June 24, 1999 @ 4:07 Author: thies Update of /repository/php3/functions In directory php:/tmp/cvs-serv15311/functions Modified Files: oci8.c Log Message: another fix for this stupid bug in the oracle-libs (still waiting for oracle-support) Index: php3/functions/oci8.c diff -u php3/functions/oci8.c:1.111 php3/functions/oci8.c:1.112 --- php3/functions/oci8.c:1.111 Wed Jun 23 11:39:07 1999 +++ php3/functions/oci8.c Thu Jun 24 04:07:09 1999 @@ -33,7 +33,7 @@ #define OCI8_USE_EMALLOC 0 /* set this to 1 if you want to use the php memory manager! */ -/* $Id: oci8.c,v 1.111 1999/06/23 15:39:07 thies Exp $ */ +/* $Id: oci8.c,v 1.112 1999/06/24 08:07:09 thies Exp $ */ /* TODO list: * @@ -952,12 +952,8 @@ /* this seems to be a BUG in oracle with 1-digit numbers */ if (column->rlen <= 0) { - if (column->indicator > 0) { /* XXX this is our "oci-bug" */ - /* - size = column->indicator; - */ - - size = 1; + if (column->size2 > 0) { /* XXX this is our "oci-bug" */ + size = column->size2; } else { size = 1; }

« previous php.dev (#7492) next »