Re: [sqlite] Core dump with python multi thread programming using sqlite3 DB

2019-03-01 Thread Keith Medcalf
On Thursday, 28 February, 2019 21:09, Rishi Mutnuru wrote: >I am developing a Multi threaded solution using sqlite3 DB. I know >there are some issues >With SQlite3 and python multithreads. I have never seen a single multithreading problem with Python and SQLite3, at least not for at least the

Re: [sqlite] Core dump with python multi thread programming using sqlite3 DB

2019-03-01 Thread Richard Hipp
On 2/28/19, Rishi Mutnuru wrote: > Hi Experts, > I am developing a Multi threaded solution using sqlite3 DB. I know there are > some issues > With SQlite3 and python multithreads. > > 1. I compiled libsqlite3 with SQLITE_THREADSAFE=2 so that multiple threads > can use it. > 2. I used the APIs

[sqlite] Core dump with python multi thread programming using sqlite3 DB

2019-03-01 Thread Rishi Mutnuru
Hi Experts, I am developing a Multi threaded solution using sqlite3 DB. I know there are some issues With SQlite3 and python multithreads. 1. I compiled libsqlite3 with SQLITE_THREADSAFE=2 so that multiple threads can use it. 2. I used the APIs threading.Lock(), and lock.acquire(),

Re: [sqlite] Is there a tool to convert `where`s to equivalent `join`s?

2019-03-01 Thread Don V Nielsen
> So for learning sake, is there a tool that converts a query using `WHERE` to a query (that yields identical results) using JOINs? I'm not aware of a tool, but I would assert that not using a tool is for learning sake. Recoding by hand is going to be your best learning experience. Note: there

Re: [sqlite] Site search bug - https://sqlite.org/

2019-03-01 Thread Dianne Dunn
Please remove me ASAP thx Sent from my iPad > On Feb 27, 2019, at 5:28 AM, Chris Locke wrote: > > The link you quote mentions SQLite 3.24 though... ? > > > Thanks, > Chris > >> On Wed, Feb 27, 2019 at 12:44 PM niki wrote: >> >> This link demonstrates the problem: >> >>

Re: [sqlite] Deserialize a WAL database file

2019-03-01 Thread Lloyd
On Fri, Mar 1, 2019 at 4:09 PM Simon Slavin wrote: > On 1 Mar 2019, at 10:27am, Lloyd wrote: > > > I am able to serialize, deserialize and prepare a SQL query against the > rollback database. When I do the same against the WAL database file, the > 'prepare' statement fails with code '1'. > >

Re: [sqlite] Deserialize a WAL database file

2019-03-01 Thread Simon Slavin
On 1 Mar 2019, at 10:27am, Lloyd wrote: > I am able to serialize, deserialize and prepare a SQL query against the > rollback database. When I do the same against the WAL database file, the > 'prepare' statement fails with code '1'. It's possible that some of the data for the WAL database is

[sqlite] Deserialize a WAL database file

2019-03-01 Thread Lloyd
I have two database files. One in Rollback mode and the other in WAL mode. I am able to serialize, deserialize and prepare a SQL query against the rollback database. When I do the same against the WAL database file, the 'prepare' statement fails with code '1'. Is it not possible to do this on WAL

[sqlite] Is there a tool to convert `where`s to equivalent `join`s?

2019-03-01 Thread Rocky Ji
In SQL world, generally , not just SQLite , a lot of pros say that the