I'm trying to declare a variable to use later in my trigger, but I'm getting this error.
ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'END' at line 7
DELIMITER $$$$CREATE TRIGGER clients_before_update BEFORE UPDATE ON clients FOR EACH ROWBEGIN declare var_test INT;END;$$