diff options
author | unknown <tnurnberg@white.intern.koehntopp.de> | 2007-12-17 14:17:18 +0100 |
---|---|---|
committer | unknown <tnurnberg@white.intern.koehntopp.de> | 2007-12-17 14:17:18 +0100 |
commit | a4c45612a2886b028b791f0f5086a0df9e337148 (patch) | |
tree | db8adb25c4d4d3e3377c9ba62f4f021e2cc67cb5 /client | |
parent | 607941de2e96bef5cc88e53c93d700aca0cff840 (diff) | |
parent | e5b3254e70db3004a2b7a7c2ef462ffebe802d33 (diff) | |
download | mariadb-git-a4c45612a2886b028b791f0f5086a0df9e337148.tar.gz |
Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into mysql.com:/misc/mysql/31752_/50-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 15bf7d792fb..88575c26bc6 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -3592,7 +3592,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); } @@ -6908,7 +6908,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); |