summaryrefslogtreecommitdiff
path: root/mysys/my_safehash.c
diff options
context:
space:
mode:
authorunknown <bell@desktop.sanja.is.com.ua>2007-04-18 14:45:32 +0300
committerunknown <bell@desktop.sanja.is.com.ua>2007-04-18 14:45:32 +0300
commitee8f8dd128ffa6fae5270918154526039b8eb80c (patch)
treef36e04c6e7d00ef1e172447a279e6e796c44a1e9 /mysys/my_safehash.c
parent92e99ce4243b5ffdc069f1681136e858e888d646 (diff)
downloadmariadb-git-ee8f8dd128ffa6fae5270918154526039b8eb80c.tar.gz
Fixed dubug info.
sql/set_var.cc: fixed parameters.
Diffstat (limited to 'mysys/my_safehash.c')
-rw-r--r--mysys/my_safehash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/my_safehash.c b/mysys/my_safehash.c
index 00ca1569b91..57f408942bf 100644
--- a/mysys/my_safehash.c
+++ b/mysys/my_safehash.c
@@ -52,7 +52,7 @@
static void safe_hash_entry_free(SAFE_HASH_ENTRY *entry)
{
- DBUG_ENTER("free_assign_entry");
+ DBUG_ENTER("safe_hash_entry_free");
my_free((gptr) entry, MYF(0));
DBUG_VOID_RETURN;
}
@@ -99,7 +99,7 @@ static byte *safe_hash_entry_get(SAFE_HASH_ENTRY *entry, uint *length,
my_bool safe_hash_init(SAFE_HASH *hash, uint elements,
byte *default_value)
{
- DBUG_ENTER("safe_hash");
+ DBUG_ENTER("safe_hash_init");
if (hash_init(&hash->hash, &my_charset_bin, elements,
0, 0, (hash_get_key) safe_hash_entry_get,
(void (*)(void*)) safe_hash_entry_free, 0))
@@ -272,7 +272,7 @@ end:
void safe_hash_change(SAFE_HASH *hash, byte *old_data, byte *new_data)
{
SAFE_HASH_ENTRY *entry, *next;
- DBUG_ENTER("safe_hash_set");
+ DBUG_ENTER("safe_hash_change");
rw_wrlock(&hash->mutex);