Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Does fetchall_arrayref() ever return a NULL?

by tangent (Parson)
on May 06, 2022 at 20:01 UTC ( [id://11143630]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Does fetchall_arrayref() ever return a NULL?
in thread Does fetchall_arrayref() ever return a NULL?

I tried your test using MySQL and it gave the same result. But I checked the handle for errors and it produced "fetch() without execute()". So perhaps returning an empty arrayref is correct, as there was an error. Interesting that SQLite did not throw that error.
  • Comment on Re^3: Does fetchall_arrayref() ever return a NULL?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-16 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found