diff options
author | hf@deer.(none) <> | 2003-09-19 14:44:31 +0500 |
---|---|---|
committer | hf@deer.(none) <> | 2003-09-19 14:44:31 +0500 |
commit | a2dbfaefa366792fd1ed7e0a331212997fe43ceb (patch) | |
tree | 3c07a62a6ce161b611b85e52602cd8585ba0ad6d /mysys/testhash.c | |
parent | 0868446b3e457e1ce32f63cadff4ef4c8b17344a (diff) | |
download | mariadb-git-a2dbfaefa366792fd1ed7e0a331212997fe43ceb.tar.gz |
SCRUM
embedded library
hash_insert renamed to my_hash_insert to avoid name intersection
with another libraries
is there better idea?
Diffstat (limited to 'mysys/testhash.c')
-rw-r--r-- | mysys/testhash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/testhash.c b/mysys/testhash.c index a1d14dc225d..72badffdbcd 100644 --- a/mysys/testhash.c +++ b/mysys/testhash.c @@ -83,7 +83,7 @@ static int do_test() n1=rnd(1000); n2=rnd(100); n3=rnd(min(recant*5,MAX_RECORDS)); record= (char*) my_malloc(reclength,MYF(MY_FAE)); sprintf(record,"%6d:%4d:%8d:Pos: %4d ",n1,n2,n3,write_count); - if (hash_insert(&hash,record)) + if (my_hash_insert(&hash,record)) { printf("Error: %d in write at record: %d\n",my_errno,i); goto err; @@ -199,7 +199,7 @@ static int do_test() record=(byte*) my_malloc(reclength,MYF(MY_FAE)); memcpy(record,recpos,reclength); record[reclength-1]=rnd(5)+1; - if (hash_insert(&hash2,record)) + if (my_hash_insert(&hash2,record)) { printf("Got error when inserting record: %*s",reclength,record); goto err; |