Re: [sqlite] Testing the rowid algorithm. Was: Generating new rowid alg o

2008-03-11 Thread drh
Nicolas Williams <[EMAIL PROTECTED]> wrote: > > Slightly OT: The current SQLite3 test code base makes use of internal > interfaces, which means you can't necessarily test the bits that you > want to install. It'd be nice to be able to test the bits actually > installed. See http://www.sqlite.or

Re: [sqlite] Testing the rowid algorithm. Was: Generating new rowid alg o

2008-03-11 Thread Nicolas Williams
On Tue, Mar 11, 2008 at 02:54:32PM -0400, John Elrick wrote: > [EMAIL PROTECTED] wrote: > > Our solution to this problem is that we allow the test script > > to monkey with the state of the Pseudo-Random Number Generator > > (PRNG) that SQLite uses to generate random rowids. On a test > > build, w

Re: [sqlite] Testing the rowid algorithm. Was: Generating new rowid alg o

2008-03-11 Thread John Elrick
[EMAIL PROTECTED] wrote: > "Igor Tandetnik" <[EMAIL PROTECTED]> wrote: > >> "B V, Phanisekhar" <[EMAIL PROTECTED]> wrote in >> message news:[EMAIL PROTECTED] >> >>> So is it possible >>> that SQLITE will give an error when attempting to insert a record even >>> if there are free ROWID's? >>