summaryrefslogtreecommitdiff
path: root/innobase/ha
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/ha')
-rw-r--r--innobase/ha/ha0ha.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/innobase/ha/ha0ha.c b/innobase/ha/ha0ha.c
index eb28e15215d..6021a0846a2 100644
--- a/innobase/ha/ha0ha.c
+++ b/innobase/ha/ha0ha.c
@@ -60,33 +60,6 @@ ha_create(
}
/*****************************************************************
-Checks that a hash table node is in the chain. */
-
-ibool
-ha_node_in_chain(
-/*=============*/
- /* out: TRUE if in chain */
- hash_cell_t* cell, /* in: hash table cell */
- ha_node_t* node) /* in: external chain node */
-{
- ha_node_t* node2;
-
- node2 = cell->node;
-
- while (node2 != NULL) {
-
- if (node2 == node) {
-
- return(TRUE);
- }
-
- node2 = node2->next;
- }
-
- return(FALSE);
-}
-
-/*****************************************************************
Inserts an entry into a hash table. If an entry with the same fold number
is found, its node is updated to point to the new data, and no new node
is inserted. */