diff options
author | dan <Dan Kennedy> | 2020-12-11 19:01:24 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2020-12-11 19:01:24 +0000 |
commit | 855aed19e224ebb5328b9fbffbf69cb8161630e8 (patch) | |
tree | 0aa7883016345a81a130047e86d7d0a8fcab5f92 /src/btree.c | |
parent | 771087833330bbb5f4081f61e67fb22da608ff75 (diff) | |
download | sqlite-855aed19e224ebb5328b9fbffbf69cb8161630e8.tar.gz sqlite-855aed19e224ebb5328b9fbffbf69cb8161630e8.zip |
Fix an assert() broken by recent changes to vacuum.
FossilOrigin-Name: dd058da85ca54ae70e26cb0bdc75ff42998d4a8b29a5e2dcac44ee0e45776a85
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree.c b/src/btree.c index 3ed365c5f..1a151fe4e 100644 --- a/src/btree.c +++ b/src/btree.c @@ -8697,7 +8697,7 @@ int sqlite3BtreeInsert( ** keys with no associated data. If the cursor was opened expecting an ** intkey table, the caller should be inserting integer keys with a ** blob of associated data. */ - assert( (pX->pKey==0)==(pCur->pKeyInfo==0) || (flags & BTREE_PREFORMAT) ); + assert( (flags & BTREE_PREFORMAT) || (pX->pKey==0)==(pCur->pKeyInfo==0) ); /* Save the positions of any other cursors open on this table. ** |