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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SQLite segmentation fault in DBI?
by zwon (Abbot) on Jan 26, 2010 at 11:48 UTC | |
by mje (Curate) on Jan 26, 2010 at 13:07 UTC | |
|
Re: SQLite segmentation fault in DBI?
by Taulmarill (Deacon) on Jan 26, 2010 at 14:31 UTC | |
|
Re: SQLite segmentation fault in DBI?
by mje (Curate) on Jan 26, 2010 at 11:40 UTC | |
|
Re: SQLite segmentation fault in DBI?
by zentara (Cardinal) on Jan 26, 2010 at 11:37 UTC | |
by derby (Abbot) on Jan 26, 2010 at 12:02 UTC | |
by dsheroh (Monsignor) on Jan 27, 2010 at 11:16 UTC |