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

Performance optimization and size reduction in the OP_Variable opcode.

FossilOrigin-Name: 237aa97452e20c312f256a8fd62531e3d447f84b
This commit is contained in:
drh
2017-01-09 19:27:04 +00:00
parent ab61cf7d93
commit 7441df72be
3 changed files with 9 additions and 9 deletions

View File

@@ -1195,7 +1195,7 @@ case OP_Variable: { /* out2 */
if( sqlite3VdbeMemTooBig(pVar) ){
goto too_big;
}
pOut = out2Prerelease(p, pOp);
pOut = &aMem[pOp->p2];
sqlite3VdbeMemShallowCopy(pOut, pVar, MEM_Static);
UPDATE_MAX_BLOBSIZE(pOut);
break;