summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authortnurnberg@mysql.com/white.intern.koehntopp.de <>2007-12-17 14:06:15 +0100
committertnurnberg@mysql.com/white.intern.koehntopp.de <>2007-12-17 14:06:15 +0100
commitb89fabe1649ed52e8292bf50c9491c2543937456 (patch)
tree61bc3934ff8d1c4bcba439db9a4ca8f98db1c273 /client
parentb2f867155fed781939228329397060b13e326582 (diff)
parent93894a444e5a523d6d499725305c3b389b20294b (diff)
downloadmariadb-git-b89fabe1649ed52e8292bf50c9491c2543937456.tar.gz
Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-4.1-opt
into mysql.com:/misc/mysql/31752_/41-31752_
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 04dfce28ab4..d5a03961364 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -3067,7 +3067,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);
}
@@ -6375,7 +6375,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);