aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vdbemem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vdbemem.c b/src/vdbemem.c
index 02588707d..1b8808ea6 100644
--- a/src/vdbemem.c
+++ b/src/vdbemem.c
@@ -1587,6 +1587,7 @@ static int valueFromExpr(
rc = valueFromExpr(db, pExpr->pLeft, enc, aff, ppVal, pCtx);
testcase( rc!=SQLITE_OK );
if( *ppVal ){
+ rc = ExpandBlob(*ppVal);
sqlite3VdbeMemCast(*ppVal, aff, enc);
sqlite3ValueApplyAffinity(*ppVal, affinity, enc);
}