Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Overflow of $DBI::rows

by DanEllison (Beadle)
on Dec 07, 2012 at 16:30 UTC ( #1007782=note: print w/ replies, xml ) Need Help??


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

We are in fact running 64bit Perl on a 64bit machine.


Comment on Re^2: Overflow of $DBI::rows
Replies are listed 'Best First'.
Re^3: Overflow of $DBI::rows
by mbethke (Hermit) on Dec 07, 2012 at 17:05 UTC
    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.
      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://1007782]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-08-01 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls