1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Remove unnecessary OP_Close opcodes for a size reduction and performance

increase.

FossilOrigin-Name: 32be7aae92ee48bf2cd260ea41e79c2bc62738f9
This commit is contained in:
drh
2016-11-22 01:26:42 +00:00
parent 60ffc80756
commit 65f38d960d
7 changed files with 13 additions and 72 deletions

View File

@@ -262,8 +262,7 @@ int sqlite3_blob_open(
{OP_Column, 0, 0, 1}, /* 4 */
{OP_ResultRow, 1, 0, 0}, /* 5 */
{OP_Goto, 0, 2, 0}, /* 6 */
{OP_Close, 0, 0, 0}, /* 7 */
{OP_Halt, 0, 0, 0}, /* 8 */
{OP_Halt, 0, 0, 0}, /* 7 */
};
Vdbe *v = (Vdbe *)pBlob->pStmt;
int iDb = sqlite3SchemaToIndex(db, pTab->pSchema);