SQLite3 and threads

Vitalie Colosov via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Mar 1 21:47:05 PST 2015


After some analysis, it looks like related to the code parts 
which I have omitted "for simplicity", and in particular - I was 
creating the query using global variable which was populated in 
main() function. It appears that when I spawn the function, it 
does not see the value of the global variable, thus, the query 
was not correct which made it execute full scan of table and 
never completed (table is huge).
I am checking more if anything like this is already documented 
anywhere.


More information about the Digitalmars-d-learn mailing list