Commit afed50ae authored by unknown's avatar unknown
Browse files

InnoDB: After review fix


sql/ha_innodb.cc:
  Avoid bitwise arithmetics, as it might be difficult to read.  The
  added readability costs one register and two instructions on x86.
parent a14a34be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2635,7 +2635,7 @@ innobase_convert_and_store_changed_col(
				&& cset <= 144/*ucs2_persian_ci*/)) {
			/* space=0x0020 */
			/* Trim "half-chars", just in case. */
			len &= ~1;
			len = len - (len % 2); /* len &= ~1; */

			while (len && data[len - 2] == 0x00
					&& data[len - 1] == 0x20) {