diff options
author | kaa@polly.local <> | 2007-01-19 14:14:11 +0300 |
---|---|---|
committer | kaa@polly.local <> | 2007-01-19 14:14:11 +0300 |
commit | 71a292cac1259cb5cd4df1118165c8a998041a76 (patch) | |
tree | 9b1d30ae351465995260e462bd9a1e3ba7a7c5e5 /client/mysqlimport.c | |
parent | 08cbe046707ce0b44ab042b2d718973a2c5d9ae1 (diff) | |
download | mariadb-git-71a292cac1259cb5cd4df1118165c8a998041a76.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.
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, |