1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

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

This commit is contained in:
Marko Mäkelä
2010-04-27 16:47:38 +03:00
parent 9ed0c744ae
commit 67b09e5d29

View File

@@ -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;
}