aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordan <dan@noemail.net>2014-01-16 21:02:02 +0000
committerdan <dan@noemail.net>2014-01-16 21:02:02 +0000
commitf2655fe8b68be84a471389f0face897c82b02082 (patch)
tree25884cbbd8a41f3b85c30a4252d6985302b145e3 /src/sqliteInt.h
parenteae73fbfb90594c3a56f16a55f69270f18d61bab (diff)
downloadsqlite-f2655fe8b68be84a471389f0face897c82b02082.tar.gz
sqlite-f2655fe8b68be84a471389f0face897c82b02082.zip
Improve the error messages used to report illegal recursive cte references.
FossilOrigin-Name: 54eee9fe99290e59469bd3e1a66bb749887d37ee
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 43a1a57b0..3f29f58d4 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2371,7 +2371,6 @@ struct Parse {
Table *pZombieTab; /* List of Table objects to delete after code gen */
TriggerPrg *pTriggerPrg; /* Linked list of coded triggers */
With *pWith; /* Current WITH clause, or NULL */
- struct Cte *pCte; /* Current CTE, or NULL */
};
/*
@@ -2650,7 +2649,7 @@ struct With {
char *zName; /* Name of this CTE */
ExprList *pCols; /* List of explicit column names, or NULL */
Select *pSelect; /* The definition of this CTE */
- struct Cte *pOuterCte; /* Next WITH clause in outer context */
+ const char *zErr; /* Error message for circular references */
} a[1];
};