1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Make it possible to disable the subquery-by-coroutine optimization using

sqlite3_test_control().  Remove an always-false conditional.

FossilOrigin-Name: 564631f3e45f8f8a8db69f1e0df0d1dadbad8a2c
This commit is contained in:
drh
2012-10-30 14:39:12 +00:00
parent 21172c4cc0
commit a575967793
6 changed files with 18 additions and 21 deletions

View File

@@ -3019,7 +3019,7 @@ int sqlite3_test_control(int op, ...){
*/
case SQLITE_TESTCTRL_OPTIMIZATIONS: {
sqlite3 *db = va_arg(ap, sqlite3*);
db->dbOptFlags = (u8)(va_arg(ap, int) & 0xff);
db->dbOptFlags = (u16)(va_arg(ap, int) & 0xffff);
break;
}