Loading sql/log.h +1 −1 Original line number Diff line number Diff line Loading @@ -177,7 +177,7 @@ class MYSQL_LOG pthread_mutex_t LOCK_log; char *name; char log_file_name[FN_REFLEN]; char time_buff[20], db[NAME_BYTE_LEN + 1]; char time_buff[20], db[NAME_LEN + 1]; bool write_error, inited; IO_CACHE log_file; enum_log_type log_type; Loading sql/sp.cc +2 −2 Original line number Diff line number Diff line Loading @@ -414,8 +414,8 @@ db_load_routine(THD *thd, int type, sp_name *name, sp_head **sphp, sp_rcontext *old_spcont= thd->spcont; char definer_user_name_holder[USERNAME_LENGTH + 1]; LEX_STRING_WITH_INIT definer_user_name(definer_user_name_holder, USERNAME_LENGTH); LEX_STRING definer_user_name= { definer_user_name_holder, USERNAME_LENGTH }; char definer_host_name_holder[HOSTNAME_LENGTH + 1]; LEX_STRING definer_host_name= { definer_host_name_holder, HOSTNAME_LENGTH }; Loading sql/sp_head.cc +1 −1 Original line number Diff line number Diff line Loading @@ -2011,7 +2011,7 @@ void sp_head::set_definer(const char *definer, uint definerlen) { char user_name_holder[USERNAME_LENGTH + 1]; LEX_STRING_WITH_INIT user_name(user_name_holder, USERNAME_LENGTH); LEX_STRING user_name= { user_name_holder, USERNAME_LENGTH }; char host_name_holder[HOSTNAME_LENGTH + 1]; LEX_STRING host_name= { host_name_holder, HOSTNAME_LENGTH }; Loading sql/table.cc +0 −1 Original line number Diff line number Diff line Loading @@ -2277,7 +2277,6 @@ bool check_db_name(char *name) name += len; continue; } name_length++; } #else last_char_is_space= *name==' '; Loading Loading
sql/log.h +1 −1 Original line number Diff line number Diff line Loading @@ -177,7 +177,7 @@ class MYSQL_LOG pthread_mutex_t LOCK_log; char *name; char log_file_name[FN_REFLEN]; char time_buff[20], db[NAME_BYTE_LEN + 1]; char time_buff[20], db[NAME_LEN + 1]; bool write_error, inited; IO_CACHE log_file; enum_log_type log_type; Loading
sql/sp.cc +2 −2 Original line number Diff line number Diff line Loading @@ -414,8 +414,8 @@ db_load_routine(THD *thd, int type, sp_name *name, sp_head **sphp, sp_rcontext *old_spcont= thd->spcont; char definer_user_name_holder[USERNAME_LENGTH + 1]; LEX_STRING_WITH_INIT definer_user_name(definer_user_name_holder, USERNAME_LENGTH); LEX_STRING definer_user_name= { definer_user_name_holder, USERNAME_LENGTH }; char definer_host_name_holder[HOSTNAME_LENGTH + 1]; LEX_STRING definer_host_name= { definer_host_name_holder, HOSTNAME_LENGTH }; Loading
sql/sp_head.cc +1 −1 Original line number Diff line number Diff line Loading @@ -2011,7 +2011,7 @@ void sp_head::set_definer(const char *definer, uint definerlen) { char user_name_holder[USERNAME_LENGTH + 1]; LEX_STRING_WITH_INIT user_name(user_name_holder, USERNAME_LENGTH); LEX_STRING user_name= { user_name_holder, USERNAME_LENGTH }; char host_name_holder[HOSTNAME_LENGTH + 1]; LEX_STRING host_name= { host_name_holder, HOSTNAME_LENGTH }; Loading
sql/table.cc +0 −1 Original line number Diff line number Diff line Loading @@ -2277,7 +2277,6 @@ bool check_db_name(char *name) name += len; continue; } name_length++; } #else last_char_is_space= *name==' '; Loading