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

Registers (aka memory cells) in the VM are now numbered starting with 1

instead of 0.  A register number of 0 means "no such register". (CVS 4669)

FossilOrigin-Name: 0b849805c3a0f562d50623f406279b400d335639
This commit is contained in:
drh
2008-01-03 18:03:08 +00:00
parent 2a339ff677
commit 0a07c107a6
14 changed files with 110 additions and 111 deletions

View File

@@ -243,8 +243,8 @@ void sqlite3FinishTrigger(
};
int addr;
Vdbe *v;
int iKey = pParse->nMem++;
int iData = pParse->nMem++;
int iKey = ++pParse->nMem;
int iData = ++pParse->nMem;
/* Make an entry in the sqlite_master table */
v = sqlite3GetVdbe(pParse);