-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't workingconfirmedThe issue is confirmed to be the case.The issue is confirmed to be the case.
Description
Quite hard to pinpoint the exact cause but this starts randomly happening at some point
local q = db:query("SELECT 1")
print("r", pcall(function()q:run() end ))
prints r false C++ exception
I think this is a data race issue. The whole DatabaseQuery::last_query thing seems quite susceptible to dataraces. I believe adding a ConcurrentQueue for incoming async queries would improve that. I can see if I can create a patch for it at some point later.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingconfirmedThe issue is confirmed to be the case.The issue is confirmed to be the case.