http://www.perlmonks.org?node_id=1008206


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

Actually these ints should automatically 64 bits on any sane compiler where SQLLONG would be 64 bits, even if the standard doesn't require it. For clarity they should be fixed to size_t where negative values aren't used to signal errors, although I don't think any of them could be at fault here.

Replies are listed 'Best First'.
Re^3: Overflow of $DBI::rows
by mje (Curate) on Dec 11, 2012 at 09:33 UTC

    They cannot be size_t for a start because they have to be able to contain negative values. I cannot comment as to what you believe is a sane compiler but ints and long ints on Windows 64 are 32 bits.