[svn:dbd-oracle] r12498 - dbd-oracle/trunk

[email protected]
Newsgroups perl.dbd.oracle.changes
Message-ID <[email protected]>
Author: byterock
Date: Tue Feb 10 12:45:57 2009
New Revision: 12498

Modified:
   dbd-oracle/trunk/Changes
   dbd-oracle/trunk/oci8.c

Log:
some little changes

Modified: dbd-oracle/trunk/Changes
==============================================================================
--- dbd-oracle/trunk/Changes	(original)
+++ dbd-oracle/trunk/Changes	Tue Feb 10 12:45:57 2009
@@ -1,4 +1,5 @@
 =head1 Changes in DBD-Oracle 1.23(svn rev #####)
+  Fix on the Makefile.PL for a possible sql bug in IC from Martin J. Evans
   Added a change from a suggestion from Martic Evans for making ref cursors faster.
   Added rt.cpan.org Ticket #=42328 ora_objects attribute for extended embedded objects support from Tomas Pokorny
   Fix for rt.cpan.org Ticket #=42328 user defined types from different schema in describe_obj from Tomas Pokorny 

Modified: dbd-oracle/trunk/oci8.c
==============================================================================
--- dbd-oracle/trunk/oci8.c	(original)
+++ dbd-oracle/trunk/oci8.c	Tue Feb 10 12:45:57 2009
@@ -2733,7 +2733,11 @@
 
 		switch (fbh->dbtype) {
 		/*	the simple types	*/
- 			case	ORA_VARCHAR2:				/* VARCHAR2	*/
+			case	ORA_VARCHAR2:				/* VARCHAR2	*/
+
+				if (fbh->dbsize == 0){
+					fbh->dbsize=32;
+				}
 				avg_width = fbh->dbsize / 2;
 		/* FALLTHRU */
 			case	ORA_CHAR:				/* CHAR		*/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.