aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alter.c b/src/alter.c
index 3c8a6c3a1..43b266790 100644
--- a/src/alter.c
+++ b/src/alter.c
@@ -1217,7 +1217,7 @@ static int renameEditSql(
nQuot = sqlite3Strlen30(zQuot)-1;
}
- assert( nQuot>=nNew && nSql>0 && nNew>0 );
+ assert( nQuot>=nNew && nSql>=0 && nNew>=0 );
zOut = sqlite3DbMallocZero(db, (u64)(nSql + pRename->nList*nQuot + 1));
}else{
assert( nSql>0 );