Commit 83bd17bb authored by unknown's avatar unknown
Browse files

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       '


innobase/include/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       '
parent 3fda4f1f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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 */