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

Add the OP_Concat8 opcode, similar in concept to OP_String8. (CVS 1648)

FossilOrigin-Name: bbd3e93348bc3a1178f5278c6cf0b82e75bbf642
This commit is contained in:
danielk1977
2004-06-21 09:06:41 +00:00
parent 9e6db7d70f
commit 72c952a1c4
7 changed files with 64 additions and 74 deletions

View File

@@ -12,7 +12,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
** $Id: expr.c,v 1.146 2004/06/21 07:36:32 danielk1977 Exp $
** $Id: expr.c,v 1.147 2004/06/21 09:06:42 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -1181,7 +1181,7 @@ void sqlite3ExprCode(Parse *pParse, Expr *pExpr){
case TK_CONCAT: {
sqlite3ExprCode(pParse, pExpr->pLeft);
sqlite3ExprCode(pParse, pExpr->pRight);
sqlite3VdbeAddOp(v, OP_Concat, 2, 0);
sqlite3VdbeAddOp(v, OP_Concat8, 2, 0);
break;
}
case TK_UMINUS: {