Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
SQLite segmentation fault in DBI?by Massyn (Hermit) |
on Jan 26, 2010 at 11:18 UTC ( [id://819675]=perlquestion: print w/replies, xml ) | Need Help?? |
Massyn has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks I like SQLite for it's size and convenience of transportability, but I'm now finding that it's not as nice as mySQL. For one, I'm having difficulty querying the database while another query is in progress. For example, I'll have a fetchrow_array loop happening, then I'd like to do a dbh->do inside the loop... Now on mySQL there's no issue, but with SQLite, my script would crash with a Segmentation Fault. Any thoughts on the topic? Maybe I need a different strategy? I have tried to bundle up a bunch of SQL updates, and leave them until after the loop, regardless, I'd love to hear your thoughts on the matter, and your experience with SQLite in Perl. Cheers Massyn
Back to
Seekers of Perl Wisdom
|
|