1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Split out sqlite3BtreeCursorHintFlags() from sqlite3BtreeCursorHint()

the interface for improved performance.

FossilOrigin-Name: b3ec9a0d62c5543e91d4be2cd634ec4a3d6dca11
This commit is contained in:
drh
2015-10-27 13:24:37 +00:00
parent c5dc3dcd6e
commit f7854c7329
7 changed files with 41 additions and 35 deletions

View File

@@ -3401,8 +3401,8 @@ open_cursor_set_hints:
#ifdef SQLITE_ENABLE_CURSOR_HINT
testcase( pOp->p2 & OPFLAG_SEEKEQ );
#endif
sqlite3BtreeCursorHint(pCur->pCursor, BTREE_HINT_FLAGS,
(pOp->p5 & (OPFLAG_BULKCSR|OPFLAG_SEEKEQ)));
sqlite3BtreeCursorHintFlags(pCur->pCursor,
(pOp->p5 & (OPFLAG_BULKCSR|OPFLAG_SEEKEQ)));
break;
}