Commit f0f2738c authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

row0sel.c:

  row_sel_store_mysql_rec(): Make comment about space padding
  more accurate.
parent 4b0d6a38
...@@ -2537,8 +2537,8 @@ row_sel_store_mysql_rec( ...@@ -2537,8 +2537,8 @@ row_sel_store_mysql_rec(
case DATA_CHAR: case DATA_CHAR:
case DATA_FIXBINARY: case DATA_FIXBINARY:
case DATA_MYSQL: case DATA_MYSQL:
/* MySQL pads all non-BLOB and non-TEXT /* MySQL pads all string types (except
string types with space ' ' */ BLOB, TEXT and true VARCHAR) with space. */
if (UNIV_UNLIKELY(templ->mbminlen == 2)) { if (UNIV_UNLIKELY(templ->mbminlen == 2)) {
/* Treat UCS2 as a special case. */ /* Treat UCS2 as a special case. */
data = mysql_rec data = mysql_rec
......
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