Commit 6a6a33b6 authored by heikki@hundin.mysql.fi's avatar heikki@hundin.mysql.fi

Merge heikki@bk-internal.mysql.com:/home/bk/mysql-5.0

into hundin.mysql.fi:/home/heikki/mysql-5.0
parents d7130116 f4660bb1
...@@ -195,7 +195,8 @@ dtype_get_pad_char( ...@@ -195,7 +195,8 @@ dtype_get_pad_char(
|| type->mtype == DATA_BINARY || type->mtype == DATA_BINARY
|| type->mtype == DATA_FIXBINARY || type->mtype == DATA_FIXBINARY
|| type->mtype == DATA_MYSQL || type->mtype == DATA_MYSQL
|| type->mtype == DATA_VARMYSQL) { || type->mtype == DATA_VARMYSQL
|| type->mtype == DATA_BLOB) {
/* Space is the padding character for all char and binary /* Space is the padding character for all char and binary
strings */ strings */
......
...@@ -201,10 +201,12 @@ teststring ...@@ -201,10 +201,12 @@ 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 10
teststring 11 teststring 11
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 10
teststring 11 teststring 11
select concat('|', text1, '|') from t1 order by text1; select concat('|', text1, '|') from t1 order by text1;
concat('|', text1, '|') concat('|', text1, '|')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment