diff options
author | unknown <jani@rhols221.adsl.netsonic.fi> | 2003-08-16 17:03:48 +0300 |
---|---|---|
committer | unknown <jani@rhols221.adsl.netsonic.fi> | 2003-08-16 17:03:48 +0300 |
commit | 5ef233aa3978b00c013baccb3750931fd64efaa5 (patch) | |
tree | b14794c2ded11049d7ff85b7e012efa1192ee076 /client | |
parent | 4363c28c24fe65061f5d01d92d119dbeed4c6e28 (diff) | |
download | mariadb-git-5ef233aa3978b00c013baccb3750931fd64efaa5.tar.gz |
Fixed a limitation bug in mysqlimport. sql_statement was designed to
contain max 1280 characters, but sometimes in rare cases when --columns
was used, more than 1280 characters was needed. This is case when a lot
of columns was specified using this option. Raised the max value to 8448,
which should be enough.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlimport.c b/client/mysqlimport.c index a11b7383517..d7f6c4c0368 100644 --- a/client/mysqlimport.c +++ b/client/mysqlimport.c @@ -238,7 +238,7 @@ static int get_options(int *argc, char ***argv) static int write_to_table(char *filename, MYSQL *sock) { char tablename[FN_REFLEN], hard_path[FN_REFLEN], - sql_statement[FN_REFLEN*2+256], *end; + sql_statement[FN_REFLEN*16+256], *end; my_bool local_file; DBUG_ENTER("write_to_table"); DBUG_PRINT("enter",("filename: %s",filename)); |