[Cppcms-users] Threaded access to SQLite
Brought to you by:
artyom-beilis
From: Josh H. <jos...@ni...> - 2017-01-06 19:25:45
|
Is connection pooling expected to work for the SQLite backend? When I spawn three threads and try to connect to the database from each, one of the connections will succeed and the other two will fail. On the two that fail, I get an error saying "database is locked." This happens whether I am using the connection pool directly (via cppdb::pool) or indirectly (via @pool_size). |