MXS-969: Report user var modifications properly
User variable modifications are now reported as QUERY_TYPE_USERVAR_WRITE and not as QUERY_TYPE_GSYSVAR_WRITE as earlier.
This commit is contained in:

committed by
Markus Makela

parent
b594bdc42a
commit
59ee5a78c9
@ -20,3 +20,12 @@ SET @x:= (SELECT h FROM t1 WHERE (a,b,c,d,e,f,g)=(1,2,3,4,5,6,7));
|
||||
# REMOVE: expr(A) ::= LP(B) expr(X) RP(E). {A.pExpr = X.pExpr; spanSet(&A,&B,&E);}
|
||||
# REMOVE: expr(A) ::= LP expr(X) COMMA(OP) expr(Y) RP. {spanBinaryExpr(&A,pParse,@OP,&X,&Y);}
|
||||
# ADD : expr(A) ::= LP exprlist RP. { ... }
|
||||
|
||||
SET @`a b`='hello';
|
||||
set @`test`=1;
|
||||
set @"tEST"=3;
|
||||
set @`TeST`=4;
|
||||
# warning: qc_sqlite: Statement was classified only based on keywords
|
||||
# (Sqlite3 error: SQL logic error or missing database, unrecognized token: "@"): "set @=4"
|
||||
#
|
||||
# sqlite3GetToken needs to be modified to accept a quoted variable name.
|
Reference in New Issue
Block a user