Matts (email not shown publicly) I work for MessageLabs [messagelabs.com] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.
Can you please also implement the new last_insert_id thing that DBI has? I know there is already a func thing that you can use, but it's nice to have something that works with multiple DBDs.
I don't know exactly (familiar with neither C nor DBI's internals), but at least DBD::mysql and DBD::Pg implement it. grep its tree for dbd_db_last_insert_id.
See also http://groups.google.com/groups?selm=20030307221500.GQ352%40dansat.data-plan.com
Maybe not today, but I know that for new projects I'll definitely choose the newer version. I'm not sure I'd want to move existing projects there due to file format issues (how did you address that, btw? or did you?).
Haven't gotten to use SQLite at work as much as I might have liked, but I've been using DBD::SQLite extensively for my master's thesis work. As I said before, I owe you a nice meal.
-- J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
insert id (Score:2)
Re:insert id (Score:2)
Re:insert id (Score:2)
See also http://groups.google.com/groups?selm=20030307221500.GQ352%40dansat.data-plan.co
Re:insert id (Score:2)
This is going to help me (Score:2)
Maybe not today, but I know that for new projects I'll definitely choose the newer version. I'm not sure I'd want to move existing projects there due to file format issues (how did you address that, btw? or did you?).
Haven't gotten to use SQLite at work as much as I might have liked, but I've been using DBD::SQLite extensively for my master's thesis work. As I said before, I owe you a nice meal.
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:This is going to help me (Score:2)
Converting an SQLite 2 database to SQLite 3 is a matter of doing: sqlite foo.db
Far out (Score:1)