diff options
author | drh <drh@noemail.net> | 2008-08-08 14:19:41 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-08-08 14:19:41 +0000 |
commit | 200a81dcb51bb5c02625a4fe6b6dabbf630a069c (patch) | |
tree | 0c8d6f54b2570e89025eda735ddcb9de11e8c473 /src/alter.c | |
parent | a33cb5f776c294441ffa4982197a3fe04ea92e03 (diff) | |
download | sqlite-200a81dcb51bb5c02625a4fe6b6dabbf630a069c.tar.gz sqlite-200a81dcb51bb5c02625a4fe6b6dabbf630a069c.zip |
Disallow the ON CONFLICT clause on CHECK constraints. The syntax used to be
allowed but never worked, so this should not present compatibility problems.
Other internal grammar simplifications. (CVS 5546)
FossilOrigin-Name: 4cedc641ed39982ae8cbb9200aa1e2f37c878b73
Diffstat (limited to 'src/alter.c')
-rw-r--r-- | src/alter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alter.c b/src/alter.c index ba929bedd..ec315da48 100644 --- a/src/alter.c +++ b/src/alter.c @@ -12,7 +12,7 @@ ** This file contains C code routines that used to generate VDBE code ** that implements the ALTER TABLE command. ** -** $Id: alter.c,v 1.47 2008/07/28 19:34:53 drh Exp $ +** $Id: alter.c,v 1.48 2008/08/08 14:19:41 drh Exp $ */ #include "sqliteInt.h" #include <ctype.h> @@ -74,7 +74,7 @@ static void renameTableFunc( do { zCsr += len; len = sqlite3GetToken(zCsr, &token); - } while( token==TK_SPACE || token==TK_COMMENT ); + } while( token==TK_SPACE ); assert( len>0 ); } while( token!=TK_LP && token!=TK_USING ); |