summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <tnurnberg@white.intern.koehntopp.de>2007-12-17 14:17:18 +0100
committerunknown <tnurnberg@white.intern.koehntopp.de>2007-12-17 14:17:18 +0100
commita4c45612a2886b028b791f0f5086a0df9e337148 (patch)
treedb8adb25c4d4d3e3377c9ba62f4f021e2cc67cb5
parent607941de2e96bef5cc88e53c93d700aca0cff840 (diff)
parente5b3254e70db3004a2b7a7c2ef462ffebe802d33 (diff)
downloadmariadb-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
-rw-r--r--client/mysqltest.c4
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);