Re: [sqlite] ALWAYS/NEVER and assert()

2013-06-12 Thread Richard Hipp
On Wed, Jun 12, 2013 at 1:26 PM, Eric Rubin-Smith wrote: > I note that there are some assert() statements spread through the SQLite > code base and not isolated just to the ALWAYS and NEVER macros. Why did > the authors choose to write, for example, > > assert( pName==0 ); > > in sqlite3Create

[sqlite] ALWAYS/NEVER and assert()

2013-06-12 Thread Eric Rubin-Smith
I note that there are some assert() statements spread through the SQLite code base and not isolated just to the ALWAYS and NEVER macros. Why did the authors choose to write, for example, assert( pName==0 ); in sqlite3CreateIndex, rather than ALWAYS( pName==0 ); ? For the purposes of testi