Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: DBD::SQLite dilemma

by mirod (Canon)
on Aug 11, 2003 at 10:27 UTC ( #282813=note: print w/replies, xml ) Need Help??

in reply to DBD::SQLite dilemma

Ever the conservative one, I would go for (2), with (1) being the second choice:

As you put it nicely: we can't have backward incompatible changes. If nobody has complained so far (has anybody complained? I don't see anythink on it probably means that it is not really a problem for users.

I see an other option BTW: (4) (possibly optionaly), internally do a SELECT count(<query>) FROM... to get the info first, then do the query (all nicely wrapped in a transaction I would assume).

Maybe contacting the author of SQLite to get a function that would return the count, before using sqlite_step might also be a good idea, as it would move the extra step out of Perl (and out of your module) and into the core library.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2020-08-15 14:09 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (78 votes). Check out past polls.