Commit a5b42851 authored by Marko Mäkelä's avatar Marko Mäkelä

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

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