Commit 67b09e5d authored by Marko Mäkelä's avatar Marko Mäkelä

row_merge_drop_temp_indexes(): Remove a bogus char-to-ulint cast.

parent 9ed0c744
...@@ -2070,7 +2070,7 @@ row_merge_drop_temp_indexes(void) ...@@ -2070,7 +2070,7 @@ row_merge_drop_temp_indexes(void)
field = rec_get_nth_field_old(rec, DICT_SYS_INDEXES_NAME_FIELD, field = rec_get_nth_field_old(rec, DICT_SYS_INDEXES_NAME_FIELD,
&len); &len);
if (len == UNIV_SQL_NULL || len == 0 if (len == UNIV_SQL_NULL || len == 0
|| mach_read_from_1(field) != (ulint) TEMP_INDEX_PREFIX) { || (char) *field != TEMP_INDEX_PREFIX) {
continue; continue;
} }
......
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