Re: DBD::Oracle, Support binding of integers so they are returned as IVs

2009-12-02 Thread Martin Evans
Tim Bunce wrote: > > Post a diff and I'll review it for you. The code you appended previously > looks ok. Attached is a diff for DBD::Oracle based on subversion this morning (the diffs for oci8.c may be a little difficult to read due to the large indentation of the surrounding code and there are

Re: Patch to DBD::Oracle 1.23

2009-12-02 Thread John Scoles
Ok that will be the next one to get done thanks Jan Mach wrote: We have published len_char_size property of statement handle. Why? That's because of nvarchar type. You have column nvarchar(20) and you get length 40 using PRECISION (it's right because is BYTE length). But we need for our applic

Patch to DBD::Oracle 1.23

2009-12-02 Thread Jan Mach
We have published len_char_size property of statement handle. Why? That's because of nvarchar type. You have column nvarchar(20) and you get length 40 using PRECISION (it's right because is BYTE length). But we need for our application CHAR length and it's done usign len_char_size. Regards, Jan

Re: DBD::Oracle, Support binding of integers so they are returned as IVs

2009-12-02 Thread Rudy Lippan
On 11/27/2009 01:03 PM, Greg Sabino Mullane wrote: > I'd opine that since we're dealing with databases holding Important Things, > the default should be to throw an error and make people flip a switch > to get lax mode. A large warning in the upgreade notes should suffice for > anyone tr