DBInterface.jl
DBInterface.jl copied to clipboard
DBInterface.@prepare is not threadsafe
DBInterface.@prepare uses a global Dict on DBInterface that stores prepared statements for all connections. I think this means that DBInterface.@prepare is not threadsafe even if the different connections are being used in different threads, because modification of Julia dicts is not threadsafe.