1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Make sure that NULL results from OP_Column are fully and completely NULL and do not have the MEM_Ephem bit set. Fix for ticket [094d39a4c95ee4].

FossilOrigin-Name: e1017745e183f5d7429ce787ec2feef946a24f0f
This commit is contained in:
drh
2014-11-12 14:07:28 +00:00
parent 85fabf1444
commit 51a205410c
4 changed files with 27 additions and 11 deletions

View File

@@ -2298,7 +2298,7 @@ case OP_Column: {
pC->payloadSize = pC->szRow = avail = pReg->n;
pC->aRow = (u8*)pReg->z;
}else{
MemSetTypeFlag(pDest, MEM_Null);
sqlite3VdbeMemSetNull(pDest);
goto op_column_out;
}
}else{