summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@oracle.com>2010-04-27 16:47:38 +0300
committerMarko Mäkelä <marko.makela@oracle.com>2010-04-27 16:47:38 +0300
commita5b4285132bef3232a41e30ef420643e32c4b816 (patch)
tree6a4f942e62b957499dd6926da8c4b606d3c76552 /storage
parent4d646bd16e9880ccbca37217364b0a7bba0a7a44 (diff)
downloadmariadb-git-a5b4285132bef3232a41e30ef420643e32c4b816.tar.gz
row_merge_drop_temp_indexes(): Remove a bogus char-to-ulint cast.
Diffstat (limited to 'storage')
-rw-r--r--storage/innodb_plugin/row/row0merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innodb_plugin/row/row0merge.c b/storage/innodb_plugin/row/row0merge.c
index 88a2770032d..d61d626f92e 100644
--- a/storage/innodb_plugin/row/row0merge.c
+++ b/storage/innodb_plugin/row/row0merge.c
@@ -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;
}