diff options
Diffstat (limited to 'src/vdbemem.c')
-rw-r--r-- | src/vdbemem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vdbemem.c b/src/vdbemem.c index aaae2f49f..fd4ab0ccc 100644 --- a/src/vdbemem.c +++ b/src/vdbemem.c @@ -1491,7 +1491,8 @@ static int valueFromFunction( goto value_from_function_out; } - assert( pCtx->pParse->rc==SQLITE_OK ); + testcase( pCtx->pParse->rc==SQLITE_ERROR ); + testcase( pCtx->pParse->rc==SQLITE_OK ); memset(&ctx, 0, sizeof(ctx)); ctx.pOut = pVal; ctx.pFunc = pFunc; |