1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Fix a faulty assert() in the sqlite3StrAccumAppend() routine.

FossilOrigin-Name: 998cfdb8dcda2cac94b83326751e16dcef8b267f
This commit is contained in:
drh
2015-04-15 05:38:35 +00:00
parent 65df68e8c5
commit 3457338ced
4 changed files with 12 additions and 9 deletions

View File

@@ -826,7 +826,7 @@ static void SQLITE_NOINLINE enlargeAndAppend(StrAccum *p, const char *z, int N){
** size of the memory allocation for StrAccum if necessary.
*/
void sqlite3StrAccumAppend(StrAccum *p, const char *z, int N){
assert( z!=0 );
assert( z!=0 || N==0 );
assert( p->zText!=0 || p->nChar==0 || p->accError );
assert( N>=0 );
assert( p->accError==0 || p->nAlloc==0 );