mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
SUBSTR with negative argument didn't work
with multi-byte strings, length() instead of numchars() where used in a mistake.
This commit is contained in:
@ -666,6 +666,12 @@ drop table t1;
|
||||
#
|
||||
select 'c' like '\_' as want0;
|
||||
|
||||
#
|
||||
# SUBSTR with negative offset didn't work with multi-byte strings
|
||||
#
|
||||
SELECT SUBSTR('вася',-2);
|
||||
|
||||
|
||||
#
|
||||
# Bug #7730 Server crash using soundex on an utf8 table
|
||||
#
|
||||
|
Reference in New Issue
Block a user