Commit c9dce3b6 authored by unknown's avatar unknown
Browse files

Fix for the bug #23814 "mysqlimport crashes"

mysqlimport.c declared the opt_use_threads variable as my_bool, but the corresponding option was defined as GET_UINT. The problem only occured on architectures with strict alignment rules.


client/mysqlimport.c:
  Changed the opt_use_threads variable type to uint.
parent ec12404f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -49,8 +49,8 @@ static char *add_load_option(char *ptr,const char *object,
static my_bool	verbose=0,lock_tables=0,ignore_errors=0,opt_delete=0,
		replace=0,silent=0,ignore=0,opt_compress=0,
                opt_low_priority= 0, tty_password= 0;
static my_bool opt_use_threads= 0, info_flag= 0;
static uint     opt_local_file=0;
static my_bool info_flag= 0;
static uint opt_use_threads=0, opt_local_file=0;
static char	*opt_password=0, *current_user=0,
		*current_host=0, *current_db=0, *fields_terminated=0,
		*lines_terminated=0, *enclosed=0, *opt_enclosed=0,