Mysql Function Select Into Variables