[sqlite] Password protection to sqlite3 db file

2015-09-02 Thread techi eth
Hi, Is it possible to protect sqlite3 db file with password protection in Linux. Techi

[sqlite] explain query plan showing SEARCH instead of SCAN for min/max operations

2015-09-02 Thread Clemens Ladisch
Isaac Goldberg wrote: > I'm seeing that EXPLAIN QUERY PLAN returns SEARCH instead of SCAN when > using min() or max(). For example: > > sqlite> create table t(a int, b int); > sqlite> explain query plan select min(b) from t; > 0|0|0|SEARCH TABLE t > > Why is this a SEARCH instead of a SCAN?

[sqlite] explain query plan showing SEARCH instead of SCAN for min/max operations

2015-09-02 Thread Simon Slavin
On 2 Sep 2015, at 2:00pm, Simon Slavin wrote: > Because there's no convenient index. Whoops. Sorry. Ignore me. Pay attention to Clemens. Simon.

[sqlite] explain query plan showing SEARCH instead of SCAN for min/max operations

2015-09-02 Thread Simon Slavin
On 1 Sep 2015, at 7:40am, Isaac Goldberg wrote: > I'm seeing that EXPLAIN QUERY PLAN returns SEARCH instead of SCAN when > using min() or max(). For example: > > sqlite> create table t(a int, b int); >> sqlite> explain query plan select min(b) from t; >> 0|0|0|SEARCH TABLE t > > Why is this a

[sqlite] Documentation Error: sqlite3_set_authorizer() interface

2015-09-02 Thread Mark Brand
The documentation is correct after all. The table name is not in the 4th parameter, but in the 6th parameter. The content of the 6th parameter is covered by "The 6th parameter to the authorizer callback is the name of the inner-most trigger or view that is responsible for the access

[sqlite] Password protection to sqlite3 db file

2015-09-02 Thread Darko Volaric
Yes. There are free and paid options for this. For instance: https://www.sqlite.org/see/doc/trunk/www/index.wiki https://www.zetetic.net/sqlcipher/ On Wed, Sep 2, 2015 at 9:36 AM, techi eth wrote: > Hi, > > Is it possible to protect sqlite3 db file with password protection in > Linux. > >

[sqlite] ESC_BAD_ACCESS when using a background thread

2015-09-02 Thread Jeffrey Mattox
>> On Sep 1, 2015, at 9:37 AM, Roger Binns wrote: >> >> On 08/31/2015 11:28 PM, Jeff M wrote: >> All my bad -- I'm fessing up. > > Can you tell us how you found the root causes of the problems? It > would be nice to know what tools and techniques worked. > Roger Since you asked... The crash