aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-11-21 14:44:38 +0000
committerdrh <drh@noemail.net>2013-11-21 14:44:38 +0000
commit10f468f37a17a99a98748e49b26bc825b0938851 (patch)
tree795d7d876193bf490c4f8fe572135dd4901d9661 /src/expr.c
parentb1fba2868b7e1c1932fe7985658ca409e8bbd6da (diff)
downloadsqlite-10f468f37a17a99a98748e49b26bc825b0938851.tar.gz
sqlite-10f468f37a17a99a98748e49b26bc825b0938851.zip
Remove the obsolete TK_CONST_FUNC token type.
FossilOrigin-Name: 9b4217f055e9bced186b4c56a5753bd6da7115b5
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/expr.c b/src/expr.c
index f0a419040..62055d246 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -2626,7 +2626,6 @@ int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target){
}
break;
}
- case TK_CONST_FUNC:
case TK_FUNCTION: {
ExprList *pFarg; /* List of function arguments */
int nFarg; /* Number of function arguments */
@@ -2639,8 +2638,6 @@ int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target){
CollSeq *pColl = 0; /* A collating sequence */
assert( !ExprHasProperty(pExpr, EP_xIsSelect) );
- testcase( op==TK_CONST_FUNC );
- testcase( op==TK_FUNCTION );
if( ExprHasProperty(pExpr, EP_TokenOnly) ){
pFarg = 0;
}else{
@@ -3206,7 +3203,6 @@ void sqlite3ExplainExpr(Vdbe *pOut, Expr *pExpr){
}
case TK_AGG_FUNCTION:
- case TK_CONST_FUNC:
case TK_FUNCTION: {
ExprList *pFarg; /* List of function arguments */
if( ExprHasProperty(pExpr, EP_TokenOnly) ){