mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Add asserts() for a couple of unreachable conditions. Add the Mandelbrot Set
query as a test case. FossilOrigin-Name: 2ad4583c0cc7988f0dfe78fd0a2eb0fdb92d835a
This commit is contained in:
@@ -3390,7 +3390,8 @@ case OP_SwapCursors: {
|
||||
p->apCsr[pOp->p1] = p->apCsr[pOp->p2];
|
||||
p->apCsr[pOp->p2] = pTmp;
|
||||
|
||||
rc = sqlite3BtreeClearTable(pTmp->pBt, MASTER_ROOT + !pTmp->isTable, 0);
|
||||
assert( pTmp->isTable );
|
||||
rc = sqlite3BtreeClearTable(pTmp->pBt, MASTER_ROOT, 0);
|
||||
break;
|
||||
}
|
||||
#endif /* ifndef SQLITE_OMIT_CTE */
|
||||
|
Reference in New Issue
Block a user