tests: length function with multibyte characters

Depending on encoding, some characters have more than one byte. Add
failing test to verify if current implementation of scalar function
`length` takes that into account.
This commit is contained in:
Kacper Kołodziej 2024-12-10 22:47:20 +01:00
parent f9b300a608
commit e68a86532a

View file

@ -343,6 +343,10 @@ do_execsql_test length-text {
SELECT length('limbo');
} {5}
do_execsql_test lenght-text-utf8-chars {
SELECT length('ąłóżźć');
} {6}
do_execsql_test length-integer {
SELECT length(12345);
} {5}