diff options
author | unknown <tnurnberg@white.intern.koehntopp.de> | 2007-12-17 12:11:14 +0100 |
---|---|---|
committer | unknown <tnurnberg@white.intern.koehntopp.de> | 2007-12-17 12:11:14 +0100 |
commit | e8fec425fa774c98189eacd993284c560054fea0 (patch) | |
tree | 19024aeebb94b3cf1b09c9891c75740e090012ab /client | |
parent | f95ae05029eb45bd11b76fb7fca26b92624b4c59 (diff) | |
parent | e5b3254e70db3004a2b7a7c2ef462ffebe802d33 (diff) | |
download | mariadb-git-e8fec425fa774c98189eacd993284c560054fea0.tar.gz |
Merge mysql.com:/misc/mysql/31752_/50-31752_
into mysql.com:/misc/mysql/31752_/51-31752_
client/mysqltest.c:
Auto merged
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 18212430147..f16a5c3403a 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -3654,7 +3654,7 @@ void do_get_file_name(struct st_command *command, if (*p) *p++= 0; command->last_argument= p; - strmake(dest, name, dest_max_len); + strmake(dest, name, dest_max_len - 1); } @@ -6975,7 +6975,7 @@ int main(int argc, char **argv) if (save_file[0]) { - strmake(command->require_file, save_file, sizeof(save_file)); + strmake(command->require_file, save_file, sizeof(save_file) - 1); save_file[0]= 0; } run_query(cur_con, command, flags); |