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.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.