diff options
author | monty@hundin.mysql.fi <> | 2002-06-27 11:27:04 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-06-27 11:27:04 +0300 |
commit | 8a2daeac77951b6f97bfbfbd3db3995cae37b4c3 (patch) | |
tree | 857f8b9d553911f4937bee644ea5d2c3606e8e58 /sql/hostname.cc | |
parent | 12f9623b62e5418028b88d2c3112e5d8b40ed747 (diff) | |
download | mariadb-git-8a2daeac77951b6f97bfbfbd3db3995cae37b4c3.tar.gz |
Removed mysql_ssl_clear()
Added statistics information for alarms (for bug tracking)
Don't store "incomplete" in the xxx.cfg file if we are not using --restart. (Crash-me)
Enlarged STACK_BUF_ALLOC becasue of failed crash-me test
Aded new script mysql_tableinfo to make a system directory.
Diffstat (limited to 'sql/hostname.cc')
-rw-r--r-- | sql/hostname.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/hostname.cc b/sql/hostname.cc index a93af8b273e..abccc466a22 100644 --- a/sql/hostname.cc +++ b/sql/hostname.cc @@ -57,8 +57,8 @@ void hostname_cache_refresh() bool hostname_cache_init() { - host_entry *tmp; - uint offset= (uint) ((char*) (&tmp->ip) - (char*) tmp); + host_entry tmp; + uint offset= (uint) ((char*) (&tmp.ip) - (char*) &tmp); (void) pthread_mutex_init(&LOCK_hostname,MY_MUTEX_INIT_SLOW); if (!(hostname_cache=new hash_filo(HOST_CACHE_SIZE, offset, |