diff options
author | monty@hundin.mysql.fi <> | 2002-06-04 00:40:27 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-06-04 00:40:27 +0300 |
commit | 4b1836ee36635bc643ba6e3107fdbf916fffe967 (patch) | |
tree | 675836bfd2d520dcffdb4499ac8cf51045c407f2 /sql/hostname.cc | |
parent | 544f95c45112993df1d31d3eda859dd5e4efff89 (diff) | |
download | mariadb-git-4b1836ee36635bc643ba6e3107fdbf916fffe967.tar.gz |
Enable LOAD DATA LOCAL INFILE in mysql_test
Added syntax for column comments (for compability with 4.1)
Fix of ALTER TABLE RENAME
Diffstat (limited to 'sql/hostname.cc')
-rw-r--r-- | sql/hostname.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hostname.cc b/sql/hostname.cc index bd4ec06c083..a93af8b273e 100644 --- a/sql/hostname.cc +++ b/sql/hostname.cc @@ -58,7 +58,7 @@ void hostname_cache_refresh() bool hostname_cache_init() { host_entry *tmp; - uint offset= (uint) ((char*) (&tmp->ip) - (char*) &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, |