summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2005-03-17 18:17:38 +0200
committerheikki@hundin.mysql.fi <>2005-03-17 18:17:38 +0200
commit6c9334ed1d0ff29ac95e9d0a70726875f6d7d3d9 (patch)
treea3b6849aa119b4d2377159645e7408113a2ca939 /innobase
parent6a6a33b6d4678c07bf473bade59e4abab62a8b5e (diff)
downloadmariadb-git-6c9334ed1d0ff29ac95e9d0a70726875f6d7d3d9.tar.gz
data0type.ic:
Revert the change to the space padding of BLOB and TEXT in comparisons; we cannot change the sorting order, because that would make old tables to appear corrupt; better to change LIKE 'a%' processing in MySQL, so that the lower end of the search interval would be 'a', not 'a '
Diffstat (limited to 'innobase')
-rw-r--r--innobase/include/data0type.ic3
1 files changed, 1 insertions, 2 deletions
diff --git a/innobase/include/data0type.ic b/innobase/include/data0type.ic
index 9264851a84a..bf04e1c9b27 100644
--- a/innobase/include/data0type.ic
+++ b/innobase/include/data0type.ic
@@ -195,8 +195,7 @@ dtype_get_pad_char(
|| type->mtype == DATA_BINARY
|| type->mtype == DATA_FIXBINARY
|| type->mtype == DATA_MYSQL
- || type->mtype == DATA_VARMYSQL
- || type->mtype == DATA_BLOB) {
+ || type->mtype == DATA_VARMYSQL) {
/* Space is the padding character for all char and binary
strings */