Commit 912e5e47 authored by unknown's avatar unknown
Browse files

Manually import InnoDB fix into build tree.


innobase/include/data0type.ic:
  Fix for sorting of innodb TEXT columns.
parent 9739b7a6
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -195,10 +195,12 @@ dtype_get_pad_char(
	    || type->mtype == DATA_BINARY
	    || type->mtype == DATA_FIXBINARY
	    || type->mtype == DATA_MYSQL
	    || type->mtype == DATA_VARMYSQL) {
	    || type->mtype == DATA_VARMYSQL
	    || (type->mtype == DATA_BLOB
		&& (type->prtype & DATA_BINARY_TYPE) == 0)) {

		/* Space is the padding character for all char and binary
	        strings */
	        strings, and starting from 5.0.3, also for TEXT strings. */

		return((ulint)' ');
	}