aboutsummaryrefslogtreecommitdiff
path: root/src/tokenize.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2007-05-15 14:34:32 +0000
committerdrh <drh@noemail.net>2007-05-15 14:34:32 +0000
commit9a087a99e5f94e043034ba368e61d2697af10136 (patch)
treec9fb487bee0fec3646c7fcb215ad013adaa7f009 /src/tokenize.c
parent76cb812d2560a7c35b698631ec45b3f5b40cab38 (diff)
downloadsqlite-9a087a99e5f94e043034ba368e61d2697af10136.tar.gz
sqlite-9a087a99e5f94e043034ba368e61d2697af10136.zip
Relax the restriction on using bytes 0x80 through 0xbf as the first
character of an identifier. Enhancements to ALTER TABLE tests for tables with strange names or stange column names. (CVS 4008) FossilOrigin-Name: 262a3e6339b31f269f8f07e43d295b90827e2779
Diffstat (limited to 'src/tokenize.c')
-rw-r--r--src/tokenize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tokenize.c b/src/tokenize.c
index a9e0167b5..b5a7f8580 100644
--- a/src/tokenize.c
+++ b/src/tokenize.c
@@ -15,7 +15,7 @@
** individual tokens and sends those tokens one-by-one over to the
** parser for analysis.
**
-** $Id: tokenize.c,v 1.128 2007/05/15 09:00:15 drh Exp $
+** $Id: tokenize.c,v 1.129 2007/05/15 14:34:32 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -365,7 +365,7 @@ static int getToken(const unsigned char *z, int *tokenType){
}
#endif
default: {
- if( !IdChar(*z) || (*z & 0xc0)==0x80 ){
+ if( !IdChar(*z) ){
break;
}
for(i=1; IdChar(z[i]); i++){}