Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: DBI don't fetch my data...or at least not all records (bug?)

by tye (Cardinal)
on Nov 20, 2012 at 18:35 UTC ( #1004772=note: print w/ replies, xml ) Need Help??


in reply to Re^2: DBI don't fetch my data...or at least not all records
in thread DBI don't fetch my data...or at least not all records

bad FILE descriptor? I don't use a file

It has to connect to the DB somehow. There is almost always a file descriptor under the covers (usually to a socket).

But it could also be reporting $! even though there wasn't a failure that set $! ("bad file descriptor" is a common error that gets left behind in $! due to common stuff that happens under the covers).

It looks like a bug to me.

- tye        


Comment on Re^3: DBI don't fetch my data...or at least not all records (bug?)
Re^4: DBI don't fetch my data...or at least not all records (bug?)
by kurreburre (Acolyte) on Nov 20, 2012 at 18:43 UTC
    Hi Thanks for answering. Do you mean a bug in DBI or in my program? I would say in DBI ( I might definiteley be wrong) because as I have stated before I do pretty the same select statment for some other columns and the only differece is that in the failing one the column "BBTicker" has the "not null" property set to it, the other "working" "BBTicker" columns in the other tables doesn't.

      Most likely a bug in DBD::ODBC, but that is just a guess. It could be a bug in ODBC or in your code or even in DBI, Perl, ODBC, etc.

      Perhaps you should report exactly what data should get returned for the record where this fails, since that seems a likely place for this (possible) bug to have been triggered.

      - tye        

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-12-20 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (98 votes), past polls