Commit ad15f7ad authored by sunny's avatar sunny

branches/5.1: This is an interim fix, fix white space errors.

parent 9b0cc0f8
...@@ -4514,7 +4514,7 @@ row_search_autoinc_read_column( ...@@ -4514,7 +4514,7 @@ row_search_autoinc_read_column(
dict_index_t* index, /* in: index to read from */ dict_index_t* index, /* in: index to read from */
const rec_t* rec, /* in: current rec */ const rec_t* rec, /* in: current rec */
ulint col_no, /* in: column number */ ulint col_no, /* in: column number */
ulint mtype, /*!< in: column main type */ ulint mtype, /*!< in: column main type */
ibool unsigned_type) /* in: signed or unsigned flag */ ibool unsigned_type) /* in: signed or unsigned flag */
{ {
ulint len; ulint len;
...@@ -4538,21 +4538,21 @@ row_search_autoinc_read_column( ...@@ -4538,21 +4538,21 @@ row_search_autoinc_read_column(
ut_a(len != UNIV_SQL_NULL); ut_a(len != UNIV_SQL_NULL);
ut_a(len <= sizeof value); ut_a(len <= sizeof value);
switch (mtype) { switch (mtype) {
case DATA_INT: case DATA_INT:
value = mach_read_int_type(data, len, unsigned_type); value = mach_read_int_type(data, len, unsigned_type);
break; break;
case DATA_FLOAT: case DATA_FLOAT:
value = mach_float_read(data); value = mach_float_read(data);
break; break;
case DATA_DOUBLE: case DATA_DOUBLE:
value = mach_double_read(data); value = mach_double_read(data);
break; break;
default: default:
ut_error; ut_error;
} }
if (UNIV_LIKELY_NULL(heap)) { if (UNIV_LIKELY_NULL(heap)) {
......
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