[sqlite] Getting the current value of busy_timeout

2015-02-20 Thread Simon Slavin
On 20 Feb 2015, at 12:08am, Richard Hipp wrote: > You can add a hack to the code. But other than that, no. Given that so many PRAGMAs have a way to find out the current setting, could this be added without too much extra code ? There are only three PRAGMA settings which don't have this: PR

[sqlite] Getting the current value of busy_timeout

2015-02-19 Thread Donald Shepherd
Is there a way to get (not set) the current value of busy_timeout when using an SQLite version older than 3.7.15 and the addition of "PRAGMA busy_timeout;"? http://www.sqlite.org/releaselog/3_7_15.html

[sqlite] Getting the current value of busy_timeout

2015-02-19 Thread Richard Hipp
On 2/19/15, Simon Slavin wrote: > > On 20 Feb 2015, at 12:08am, Richard Hipp wrote: > >> You can add a hack to the code. But other than that, no. > > Given that so many PRAGMAs have a way to find out the current setting, could > this be added without too much extra code ? It has already been ad

[sqlite] Getting the current value of busy_timeout

2015-02-19 Thread Richard Hipp
On 2/19/15, Donald Shepherd wrote: > Is there a way to get (not set) the current value of busy_timeout when > using an SQLite version older than 3.7.15 and the addition of "PRAGMA > busy_timeout;"? > You can add a hack to the code. But other than that, no. -- D. Richard Hipp drh at sqlite.org