summaryrefslogtreecommitdiff
path: root/include/hash.h
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2002-03-01 19:36:46 -0700
committerunknown <sasha@mysql.sashanet.com>2002-03-01 19:36:46 -0700
commit2c9879ca0cfd319e939835816cd4501b1d097b0a (patch)
treedd5cbc9c1cf52f454bd88e24e1401696ae7da26c /include/hash.h
parent80d375b1566da63bbfcaed6d4ab339ae4add5b04 (diff)
parent1dd4cf0295fcc176ff4ea314afb4ceb8910792ce (diff)
downloadmariadb-git-2c9879ca0cfd319e939835816cd4501b1d097b0a.tar.gz
merged from 3.23 to pull the LOAD DATA INFILE fix as rpl000001 was failing.
Let's hope this did not break anything. Will not push this one until Monty gets back BitKeeper/etc/logging_ok: auto-union Build-tools/Do-all-build-steps: Auto merged Build-tools/Do-compile: Auto merged Build-tools/Do-rpm: Auto merged Docs/manual.texi: Auto merged include/hash.h: Auto merged include/my_sys.h: Auto merged innobase/dict/dict0dict.c: Auto merged mysys/array.c: Auto merged mysys/hash.c: Auto merged mysys/mf_qsort.c: Auto merged sql/sql_base.cc: Auto merged sql/table.cc: Auto merged strings/Makefile.am: Auto merged client/mysql.cc: merged from 3.23 configure.in: merged from 3.23 mysql-test/mysql-test-run.sh: merged from 3.23 sql/mysqld.cc: merged from 3.23 support-files/mysql.spec.sh: merged from 3.23
Diffstat (limited to 'include/hash.h')
-rw-r--r--include/hash.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hash.h b/include/hash.h
index 8ca8d9fde02..e9c8c73c05b 100644
--- a/include/hash.h
+++ b/include/hash.h
@@ -43,9 +43,10 @@ typedef struct st_hash {
uint (*calc_hashnr)(const byte *key,uint length);
} HASH;
-my_bool hash_init(HASH *hash,uint default_array_elements, uint key_offset,
+#define hash_init(A,B,C,D,E,F,G) _hash_init(A,B,C,D,E,F,G CALLER_INFO)
+my_bool _hash_init(HASH *hash,uint default_array_elements, uint key_offset,
uint key_length, hash_get_key get_key,
- void (*free_element)(void*), uint flags);
+ void (*free_element)(void*), uint flags CALLER_INFO_PROTO);
void hash_free(HASH *tree);
byte *hash_element(HASH *hash,uint idx);
gptr hash_search(HASH *info,const byte *key,uint length);