diff options
author | drh <> | 2022-01-01 17:21:55 +0000 |
---|---|---|
committer | drh <> | 2022-01-01 17:21:55 +0000 |
commit | 3ea82384ea99529a4cd3f0f9e97eaa1f3aa0fd21 (patch) | |
tree | 9b16ad96d93f4c711ad8e08575567aa3ae918ca3 /src/insert.c | |
parent | 3907560848c1b98b71f801968f54903ecb144412 (diff) | |
download | sqlite-3ea82384ea99529a4cd3f0f9e97eaa1f3aa0fd21.tar.gz sqlite-3ea82384ea99529a4cd3f0f9e97eaa1f3aa0fd21.zip |
Remove an obsolete assert() statement that no longer does anything useful
and which is not always true. Fix for PoC #1 of
[forum:/forumpost/b03d86f951|forum post b03d86f951].
FossilOrigin-Name: c76a4c0b3cb625017ba09c8bccfcf1b5826df6873f1d3705d3345716079d5ec9
Diffstat (limited to 'src/insert.c')
-rw-r--r-- | src/insert.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/insert.c b/src/insert.c index 54592fd9c..9a02ec695 100644 --- a/src/insert.c +++ b/src/insert.c @@ -2547,7 +2547,6 @@ void sqlite3CompleteInsertion( } pik_flags = (useSeekResult ? OPFLAG_USESEEKRESULT : 0); if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){ - assert( pParse->nested==0 ); pik_flags |= OPFLAG_NCHANGE; pik_flags |= (update_flags & OPFLAG_SAVEPOSITION); if( update_flags==0 ){ |