Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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.

Replies are listed 'Best First'.
Re^4: Overflow of $DBI::rows
by DanEllison (Beadle) 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?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2016-10-28 09:28 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (379 votes). Check out past polls.