diff options
author | danielk1977 <danielk1977@noemail.net> | 2005-05-19 08:42:59 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2005-05-19 08:42:59 +0000 |
commit | 1f55c05660a23840ff127eaad855ca6d5deb50ef (patch) | |
tree | c860686b9737f1369f7cba5627e743fb3604c72c /src/select.c | |
parent | dd9f8b45ef63de1bdcdb462d9477e2bfe54a394f (diff) | |
download | sqlite-1f55c05660a23840ff127eaad855ca6d5deb50ef.tar.gz sqlite-1f55c05660a23840ff127eaad855ca6d5deb50ef.zip |
Always use a more specific type (P3_FUNCDEF) instead of P3_POINTER as the
P3 type of a vdbe instruction. (CVS 2463)
FossilOrigin-Name: 79a41674be2c0a1990598428d8b1e9d09d3ea389
Diffstat (limited to 'src/select.c')
-rw-r--r-- | src/select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select.c b/src/select.c index f72e228d7..e02d28c92 100644 --- a/src/select.c +++ b/src/select.c @@ -12,7 +12,7 @@ ** This file contains C code routines that are called by the parser ** to handle SELECT statements in SQLite. ** -** $Id: select.c,v 1.246 2005/05/16 22:37:55 drh Exp $ +** $Id: select.c,v 1.247 2005/05/19 08:43:00 danielk1977 Exp $ */ #include "sqliteInt.h" @@ -2836,7 +2836,7 @@ int sqlite3Select( if( !pColl ) pColl = pParse->db->pDfltColl; sqlite3VdbeOp3(v, OP_CollSeq, 0, 0, (char *)pColl, P3_COLLSEQ); } - sqlite3VdbeOp3(v, OP_AggFunc, 0, nExpr, (char*)pDef, P3_POINTER); + sqlite3VdbeOp3(v, OP_AggFunc, 0, nExpr, (char*)pDef, P3_FUNCDEF); } } |