summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@oracle.com>2010-09-20 18:43:15 +0300
committerVasil Dimov <vasil.dimov@oracle.com>2010-09-20 18:43:15 +0300
commitef76f25d269fba2a4564fc3000624b288c955fc3 (patch)
tree81cd7b5b10ba7a34cba6ed8309951d4412e2cdae /storage
parent633971d4641d0b74aa01ed0aa26260a32b245589 (diff)
downloadmariadb-git-ef76f25d269fba2a4564fc3000624b288c955fc3.tar.gz
(btr0sea.c:1510) Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Diffstat (limited to 'storage')
-rw-r--r--storage/innobase/btr/btr0sea.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/innobase/btr/btr0sea.c b/storage/innobase/btr/btr0sea.c
index fb667bcae82..8f5f9b839b5 100644
--- a/storage/innobase/btr/btr0sea.c
+++ b/storage/innobase/btr/btr0sea.c
@@ -1507,7 +1507,6 @@ btr_search_update_hash_on_delete(
rec_t* rec;
ulint fold;
index_id_t index_id;
- ibool found;
ulint offsets_[REC_OFFS_NORMAL_SIZE];
mem_heap_t* heap = NULL;
rec_offs_init(offsets_);
@@ -1540,7 +1539,7 @@ btr_search_update_hash_on_delete(
}
rw_lock_x_lock(&btr_search_latch);
- found = ha_search_and_delete_if_found(table, fold, rec);
+ ha_search_and_delete_if_found(table, fold, rec);
rw_lock_x_unlock(&btr_search_latch);
}