mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
FLUSH TABLE table_list
Fixes for RENAME TABLE Portability fixes
This commit is contained in:
@ -77,7 +77,7 @@ static void add_hostname(struct in_addr *in,const char *name)
|
||||
host_entry *entry;
|
||||
if (!(entry=(host_entry*) hostname_cache->search((gptr) &in->s_addr,0)))
|
||||
{
|
||||
uint length=name ? strlen(name) : 0;
|
||||
uint length=name ? (uint) strlen(name) : 0;
|
||||
|
||||
if ((entry=(host_entry*) malloc(sizeof(host_entry)+length+1)))
|
||||
{
|
||||
|
Reference in New Issue
Block a user