aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/stmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/misc/stmt.c')
-rw-r--r--ext/misc/stmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/misc/stmt.c b/ext/misc/stmt.c
index d2b33e741..876b0e5cb 100644
--- a/ext/misc/stmt.c
+++ b/ext/misc/stmt.c
@@ -168,7 +168,8 @@ static int stmtColumn(
sqlite3_result_int(ctx, sqlite3_stmt_busy(pCur->pStmt));
break;
}
- case STMT_COLUMN_MEM: {
+ default: {
+ assert( i==STMT_COLUMN_MEM );
i = SQLITE_STMTSTATUS_MEMUSED +
STMT_COLUMN_NSCAN - SQLITE_STMTSTATUS_FULLSCAN_STEP;
/* Fall thru */