mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-08 03:22:21 +03:00
All essential opcodes can now operate out of registers and completely
avoid the stack. Many still optionally use the stack to support legacy code generation, but the stack is not required. The next step is to update all code generation to avoid using the stack. (CVS 4700) FossilOrigin-Name: e3cf1c1c114bcda8fe577beb5ee55b4a651b96db
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
** This file contains C code routines that are called by the parser
|
||||
** to handle UPDATE statements.
|
||||
**
|
||||
** $Id: update.c,v 1.165 2008/01/09 02:15:42 drh Exp $
|
||||
** $Id: update.c,v 1.166 2008/01/09 23:04:12 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -414,7 +414,7 @@ void sqlite3Update(
|
||||
if( !old_col_mask ){
|
||||
sqlite3VdbeAddOp2(v, OP_Null, 0, 0);
|
||||
}else{
|
||||
sqlite3VdbeAddOp2(v, OP_RowData, iCur, 0);
|
||||
sqlite3VdbeAddOp1(v, OP_RowData, iCur);
|
||||
}
|
||||
sqlite3CodeInsert(pParse, oldIdx, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user