Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: Inserting into mysql and getting inserted id at the same timeby Marshall (Canon) |
on Mar 25, 2021 at 21:07 UTC ( [id://11130341]=note: print w/replies, xml ) | Need Help?? |
Thank you! As I now understand it, DBD::mysql only does this on a per connection basis. The DBD::MariaDB driver can do it on a more refined basis, a per statement handle basis. If the OP is using one DB connection in multiple threads, the DBD::mysql driver won't work.
In Section
Seekers of Perl Wisdom
|
|