SET @_mystoredprocedure_0='1',@_mystoredprocedure_1='2'
doesn't.
This is used (in mysql at least) to set arguments that will be used in a subsequent call to a stored procedure.
So currently, node-sql-parser only works with stored procedures with a single argument, or if the client sets the arguments one by one.
Database Engine
mysql
To Reproduce
-the SQL that be parsed: "SET @_mystoredprocedure_0='1',@_mystoredprocedure_1='2'"
-the node-sql-parser version: 5.1.0
-the node version: v21.2.0
Describe the bug
This
parses successfully. But this:
doesn't. This is used (in mysql at least) to set arguments that will be used in a subsequent call to a stored procedure. So currently, node-sql-parser only works with stored procedures with a single argument, or if the client sets the arguments one by one.
Database Engine mysql
To Reproduce -the SQL that be parsed: "SET @_mystoredprocedure_0='1',@_mystoredprocedure_1='2'" -the node-sql-parser version: 5.1.0 -the node version: v21.2.0