diff options
author | unknown <dlenev@mockturtle.local> | 2006-11-01 16:20:15 +0300 |
---|---|---|
committer | unknown <dlenev@mockturtle.local> | 2006-11-01 16:20:15 +0300 |
commit | b7a4d7822fefb1859f196ef026d9e960bc8cfb7e (patch) | |
tree | 5984366d91eb42b6f03be52b6042748c734ae784 /include | |
parent | 6a503b6784778cb4e48c227ac58c613fcc446123 (diff) | |
parent | 57c2f22a54f33267e2f9cc7437f78f36b47a32fe (diff) | |
download | mariadb-git-b7a4d7822fefb1859f196ef026d9e960bc8cfb7e.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime
into mockturtle.local:/home/dlenev/src/mysql-5.0-hash-2
sql/sql_lex.cc:
Auto merged
sql/sql_lex.h:
Auto merged
Diffstat (limited to 'include')
-rw-r--r-- | include/hash.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hash.h b/include/hash.h index 8f5ff21ae5e..4d6ee77fa0c 100644 --- a/include/hash.h +++ b/include/hash.h @@ -65,6 +65,8 @@ my_bool hash_check(HASH *hash); /* Only in debug library */ #define hash_clear(H) bzero((char*) (H),sizeof(*(H))) #define hash_inited(H) ((H)->array.buffer != 0) +#define hash_init_opt(A,B,C,D,E,F,G,H) \ + (!hash_inited(A) && _hash_init(A,B,C,D,E,F,G, H CALLER_INFO)) #ifdef __cplusplus } |