mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
endspace.result:
Someone has fixed the calculation of length() for a returned InnoDB VARCHAR value: update endspace.result to have the correct value length('teststring') == 10 mysql-test/r/endspace.result: Someone has fixed the calculation of length() for a returned InnoDB VARCHAR value: update endspace.result to have the correct value length('teststring') == 10
This commit is contained in:
@ -201,11 +201,11 @@ teststring
|
|||||||
select text1, length(text1) from t1 where text1='teststring' or text1 like 'teststring_%';
|
select text1, length(text1) from t1 where text1='teststring' or text1 like 'teststring_%';
|
||||||
text1 length(text1)
|
text1 length(text1)
|
||||||
teststring 11
|
teststring 11
|
||||||
teststring 11
|
teststring 10
|
||||||
select text1, length(text1) from t1 where text1='teststring' or text1 >= 'teststring\t';
|
select text1, length(text1) from t1 where text1='teststring' or text1 >= 'teststring\t';
|
||||||
text1 length(text1)
|
text1 length(text1)
|
||||||
teststring 11
|
teststring 11
|
||||||
teststring 11
|
teststring 10
|
||||||
select concat('|', text1, '|') from t1 order by text1;
|
select concat('|', text1, '|') from t1 order by text1;
|
||||||
concat('|', text1, '|')
|
concat('|', text1, '|')
|
||||||
|nothing|
|
|nothing|
|
||||||
|
Reference in New Issue
Block a user