SQLite in Memory using Threads?

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

SQLite in Memory using Threads?

Post by FredS » Thu 11 Feb 2016 02:39

Just tried to use a SQLite memory db with threads and it failed.

Found a SO post which shows that "file::memory:?cache=shared" should work but it doesn't.
Enabled the Shared Cache using ":memory:" and threads fail, but any combo of the above URI filename convention fail to connect.

XE10, Uni 6.2.10

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: SQLite in Memory using Threads?

Post by MaximG » Mon 15 Feb 2016 14:52

Thank you for the information. We have added support for URI format in UniDAC. This feature will be included in the next UniDAC build.

Post Reply