Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Overflow of $DBI::rows

by mbethke (Hermit)
on Dec 07, 2012 at 17:05 UTC ( #1007797=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Overflow of $DBI::rows
in thread Overflow of $DBI::rows

Windows? When I run Makefile.PL for DBD-ODBC-1.41 on Linux, I get the following:

unixODBC 2.3.1 DRIVERS............: /etc/unixODBC/odbcinst.ini SYSTEM DATA SOURCES: /etc/unixODBC/odbc.ini FILE DATA SOURCES..: /etc/unixODBC/ODBCDataSources USER DATA SOURCES..: /home/mb/.odbc.ini SQLULEN Size.......: 8 SQLLEN Size........: 8 SQLSETPOSIROW Size.: 8
All 64bit sizes.
dbdimp.h has this definition:
SQLLEN RowCount; /* Rows affected by insert, update, delete * (unreliable for SELECT) */
This member looks like it was the culprit here and somehow ended up as 32bit. The build output of DBD-ODBC should have some clues.


Comment on Re^3: Overflow of $DBI::rows
Select or Download Code
Re^4: Overflow of $DBI::rows
by DanEllison (Sexton) on Dec 07, 2012 at 19:45 UTC
    We are in fact using DataDirect's 64bit ODBC. So it appears it may be correct. It may very well be a Teradata issue which wouldn't surprise me.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007797]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-10-31 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (225 votes), past polls