Hello Sergei,
On 5/4/23 4:20 PM, Alexander Barkov wrote:
<cut>
eh, not quite. I can define a function with the same name as a native
function in any db. E.g.
create test.replace(a int) returns int
and it'll be callable as test.replace(1)
So ER_FUNCTION_NOT_DEFINED is wrong here.
But note that even though test.substr() is possible,
it should not allow substr() special syntax.
Good catch, I overlooked this.
From a glance, a workaround could be to use test.`substr`().
But it's better to provide backward compatibility.
I don't have a quick idea how to fix this properly.
If you have, please let me know.
I fixed this issue.
A new patch version is here:
https://github.com/MariaDB/server/commits/bb-10.4-bar-MDEV-27744-v2
Thanks.
<cut>
_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help : https://help.launchpad.net/ListHelp