1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +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

@@ -2207,10 +2207,7 @@ case OP_Column: {
** the number of columns is stored in the VdbeCursor.nField element.
*/
pC = p->apCsr[p1];
if( pC==0 ){
sqlite3VdbeMemSetNull(pDest);
goto op_column_out;
}
assert( pC!=0 );
#ifndef SQLITE_OMIT_VIRTUALTABLE
assert( pC->pVtabCursor==0 );
#endif