maria-developers team mailing list archive
Mailing list archive
Re: d67c3f88883: MDEV-27744 InnoDB: Failing assertion: !cursor->index->is_committed() in row0ins.cc (from row_ins_sec_index_entry_by_modify) | Assertion `0' failed in row_upd_sec_index_entry (debug) | Corruption
On 5/4/23 4:20 PM, Alexander Barkov wrote:
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: