MXS-2990 Fix the problem, treat ! as not
If '!' is followed by '=' then it is NOT-EQUAL, otherwise it is just NOT.
This commit is contained in:
parent
9999650bbe
commit
b212117fd3
@ -419,8 +419,13 @@ int sqlite3GetToken(const unsigned char *z, int *tokenType){
|
||||
}
|
||||
case CC_BANG: {
|
||||
if( z[1]!='=' ){
|
||||
#ifdef MAXSCALE
|
||||
*tokenType = TK_NOT;
|
||||
return 1;
|
||||
#else
|
||||
*tokenType = TK_ILLEGAL;
|
||||
return 2;
|
||||
#endif
|
||||
}else{
|
||||
*tokenType = TK_NE;
|
||||
return 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user