← Back to team overview

maria-developers team mailing list archive

help with parser

 

hi guys
i'm trying to implement
MDEV-4579<https://mariadb.atlassian.net/browse/MDEV-4579>,
could anyone help me with parser + warning generation?

MDEV-4579 title: SQL PARSER - Add Ignore to SET SQL command

example:

SET @@some_global_variable_that_dont_exists=1
*this cause an error*

SET
@@some_global_variable_that_dont_exists=1,@@some_variable_that_exists_and_should_be_changed=3
*this cause an error and don't change the second variable*

*could we implement:*
SET *IGNORE *
@@some_global_variable_that_dont_exists=1,@@some_variable_that_exists_and_should_be_changed=3
*this cause an warning (first variable don't exists) and change the second
variable*

thanks

-- 
Roberto Spadim

Follow ups