Re: [sqlite] Mem-Structure

2005-03-02 Thread Bernhard Döbler
nhard DÃbler" <[EMAIL PROTECTED]> Cc: <sqlite-users@sqlite.org> Sent: Monday, February 28, 2005 10:03 PM Subject: Re: [sqlite] Mem-Structure On Mon, 2005-02-28 at 20:03 +0100, Bernhard DÃbler wrote: > > vdbemem.c (2004 May 26) reads at about line 650: > >

Re: [sqlite] Mem-Structure

2005-02-28 Thread D. Richard Hipp
On Mon, 2005-02-28 at 20:03 +0100, Bernhard DÃbler wrote: > Hello, > > vdbemem.c (2004 May 26) reads at about line 650: > > if( pMem->enc==SQLITE_UTF8 && (flags & MEM_Term) ){ > assert( strlen(pMem->z)<=pMem->n ); > assert( pMem->z[pMem->n]==0 ); > } > > First is

[sqlite] Mem-Structure

2005-02-28 Thread Bernhard Döbler
Hello, vdbemem.c (2004 May 26) reads at about line 650: if( pMem->enc==SQLITE_UTF8 && (flags & MEM_Term) ){ assert( strlen(pMem->z)<=pMem->n ); assert( pMem->z[pMem->n]==0 ); } First is tested if the length of the passed string is shorter or equal to the passed