diff options
author | unknown <kaa@polly.local> | 2007-01-19 14:14:11 +0300 |
---|---|---|
committer | unknown <kaa@polly.local> | 2007-01-19 14:14:11 +0300 |
commit | c9dce3b61a51d9b30adb2f944231f4303495b7b8 (patch) | |
tree | 9b1d30ae351465995260e462bd9a1e3ba7a7c5e5 /client/mysqlimport.c | |
parent | ec12404f1e45018ef454f9e64a8d31eedd76fe23 (diff) | |
download | mariadb-git-c9dce3b61a51d9b30adb2f944231f4303495b7b8.tar.gz |
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.
Diffstat (limited to 'client/mysqlimport.c')
-rw-r--r-- | client/mysqlimport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqlimport.c b/client/mysqlimport.c index 2d0c0188cb0..c9e21de1b2a 100644 --- a/client/mysqlimport.c +++ b/client/mysqlimport.c @@ -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, |