aboutsummaryrefslogtreecommitdiff
path: root/src/trigger.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2005-06-12 21:35:51 +0000
committerdrh <drh@noemail.net>2005-06-12 21:35:51 +0000
commitf0863fe5686623f9578b6ce3c67dbd18d4e7b312 (patch)
treea9120fc08b7d3a0c7d3a37cbd473b69b01a139cb /src/trigger.c
parent4a9f241c371857ecb55f90a6e07b997612fedd9b (diff)
downloadsqlite-f0863fe5686623f9578b6ce3c67dbd18d4e7b312.tar.gz
sqlite-f0863fe5686623f9578b6ce3c67dbd18d4e7b312.zip
Update older opcode names to be more meaningful in light of the latest
code design. (CVS 2506) FossilOrigin-Name: 36f2da1f8d8d434f861ecad55c9d86549751c954
Diffstat (limited to 'src/trigger.c')
-rw-r--r--src/trigger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trigger.c b/src/trigger.c
index 29cbc3779..f39d2bd83 100644
--- a/src/trigger.c
+++ b/src/trigger.c
@@ -215,7 +215,7 @@ void sqlite3FinishTrigger(
*/
if( !db->init.busy ){
static const VdbeOpList insertTrig[] = {
- { OP_NewRecno, 0, 0, 0 },
+ { OP_NewRowid, 0, 0, 0 },
{ OP_String8, 0, 0, "trigger" },
{ OP_String8, 0, 0, 0 }, /* 2: trigger name */
{ OP_String8, 0, 0, 0 }, /* 3: table name */
@@ -224,7 +224,7 @@ void sqlite3FinishTrigger(
{ OP_String8, 0, 0, 0 }, /* 6: SQL */
{ OP_Concat, 0, 0, 0 },
{ OP_MakeRecord, 5, 0, "tttit" },
- { OP_PutIntKey, 0, 0, 0 },
+ { OP_Insert, 0, 0, 0 },
};
int addr;
Vdbe *v;