What is Nostr?
Helge Heß /
npub1sve…84dv
2024-10-28 23:03:56

Helge Heß on Nostr: The implementation obviously does matter 🙂 I suspect the db.connect in the MySQL ...

The implementation obviously does matter 🙂 I suspect the db.connect in the MySQL driver doesn't give you an actual connection but a proxy that will open a connection when necessary (i.e. is a pool). While the SQLite one gives you an actual connection, which you then can't share between threads.
So yes, that seems like an unfortunate difference in the implementation of the two drivers in your environment. Not great. (i.e. you should file a bug w/ the Go SQLite driver)
Author Public Key
npub1svetkp0j49gz064v9szutje235yxsscw4fexn5aahs6kzy7pwvfq5484dv