is this a bug using TRIM using a space character before the open parenthesis ?
is an opening parenthesis immediately following TRIM a requirement or a bug? if i include a space i get the following error:
MariaDB [marksDB]> select trim ( 'hello' ) ; -------------- select trim ( 'hello' ) --------------
ERROR 1630 (42000): FUNCTION marksDB.trim does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
Answer Answered by Ian Gilfillan in this comment.
By default spaces are not permitted after the function name, but this can be changed by setting IGNORE_SPACE SQL_MODE.