aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-10-31 20:34:06 +0000
committerdrh <drh@noemail.net>2013-10-31 20:34:06 +0000
commit313619f5725632e4ea69b5f5d2b4ba9a50a31c3a (patch)
tree6c1679eac506105f99099c3057fbf1c1449ee7da /src/expr.c
parentee0ec8e1db6049e6c38c94fa08201ca73ef3f60a (diff)
downloadsqlite-313619f5725632e4ea69b5f5d2b4ba9a50a31c3a.tar.gz
sqlite-313619f5725632e4ea69b5f5d2b4ba9a50a31c3a.zip
Fix the Synopsis on OP_Concat. Added test_addop_breakpoint() during
SQLITE_DEBUG. Enhanced sqlite3VdbeChangeToNoop() to omit the instruction if it is the most recent added. Continue to fix problems with UPDATE and WITHOUT ROWID. FossilOrigin-Name: 9b6d9e106aaa3c2efb33d234d26cf08cd3c967b9
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c
index 24d866f19..4a321dbc4 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -2214,9 +2214,9 @@ static void sqlite3ExprCachePinRegister(Parse *pParse, int iReg){
void sqlite3ExprCodeGetColumnOfTable(
Vdbe *v, /* The VDBE under construction */
Table *pTab, /* The table containing the value */
- int iTabCur, /* The cursor for this table */
+ int iTabCur, /* The table cursor. Or the PK cursor for WITHOUT ROWID */
int iCol, /* Index of the column to extract */
- int regOut /* Extract the valud into this register */
+ int regOut /* Extract the value into this register */
){
if( iCol<0 || iCol==pTab->iPKey ){
sqlite3VdbeAddOp2(v, OP_Rowid, iTabCur, regOut);