summaryrefslogtreecommitdiff
path: root/innobase/ha
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2004-02-22 09:50:59 +0200
committermonty@mashka.mysql.fi <>2004-02-22 09:50:59 +0200
commit3b83cce5ebc4ba1a7a6eccebc6feba76e9752f76 (patch)
treedceddcd17cf1278b50f8838476df5644f764efe9 /innobase/ha
parente1bc99c1314ba849d001d3c130b3cbcc0bbbb7d6 (diff)
parente74182fe52e70efea99e96b8eaa950b96f6205e1 (diff)
downloadmariadb-git-3b83cce5ebc4ba1a7a6eccebc6feba76e9752f76.tar.gz
merge with 4.0
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 3f36879e80b..32d50b5546e 100644
--- a/innobase/ha/ha0ha.c
+++ b/innobase/ha/ha0ha.c
@@ -66,33 +66,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. */