Re: [sqlite] sqlite 3.22.0 read-only WAL mode clarifications

2018-02-09 Thread Simon Slavin
On 9 Feb 2018, at 10:50am, Leonard Lausen wrote: > sqlite 3.22.0 added the ability to read from WAL mode databases even if > the application lacks write permission on the database and its > containing directory, as long as the -shm and -wal files exist in that > directory. >

Re: [sqlite] sqlite 3.22.0 read-only WAL mode clarifications

2018-02-09 Thread Richard Hipp
On 2/9/18, Leonard Lausen wrote: > sqlite 3.22.0 added the ability to read from WAL mode databases even if > the application lacks write permission on the database and its > containing directory, as long as the -shm and -wal files exist in that > directory. > > Even though the

[sqlite] sqlite 3.22.0 read-only WAL mode clarifications

2018-02-09 Thread Leonard Lausen
sqlite 3.22.0 added the ability to read from WAL mode databases even if the application lacks write permission on the database and its containing directory, as long as the -shm and -wal files exist in that directory. Even though the wiki page states that WAL does not work over a network

Re: [sqlite] -Wsign-compare warning in lempar.c

2018-02-09 Thread Richard Hipp
On 2/9/18, Richard Damon wrote: > On 2/8/18 9:21 AM, Nick Wellnhofer wrote: >> With the latest Lemon code, I get a warning under GCC with >> -Wsign-compare: >> >> warning: comparison between signed and unsigned integer expressions >> [-Wsign-compare] >> assert( i>=0

Re: [sqlite] -Wsign-compare warning in lempar.c

2018-02-09 Thread Richard Damon
On 2/8/18 9:21 AM, Nick Wellnhofer wrote: With the latest Lemon code, I get a warning under GCC with -Wsign-compare: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] assert( i>=0 && i+YYNTOKEN<=sizeof(yy_lookahead)/sizeof(yy_lookahead[0]) );