Thanks, fixing substr will be a good idea. Also negative number in substr works with Oracle.
On Mar 6, 3:00 pm, Thomas Mueller <thomas.tom.muel...@gmail.com> wrote: > Hi, > > Is there a way to register the new implementation with the same name > > > substr ? > > No. I think it would be a source of trouble if we would allow to overwrite > library methods. > > Instead, SUBSTR should be fixed if there is a bug. It seems only MySQL > returns "Net" (the end of the input string) when using -3. All other > databases either throw an exception, or return an empty string. In the next > release, H2 will work like MySQL in this case. > > Regards, > Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to h2-database@googlegroups.com. To unsubscribe from this group, send email to h2-database+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.