diff options
author | unknown <msvensson@pilot.mysql.com> | 2008-02-28 10:39:29 +0100 |
---|---|---|
committer | unknown <msvensson@pilot.mysql.com> | 2008-02-28 10:39:29 +0100 |
commit | 7c7801f955029de5f1a36cb67df7d72049dd83cc (patch) | |
tree | e7ffd45086897d64016bb3620f7dd8e9ec53d787 /client | |
parent | 51a99d70e92ca9fd1e8e9889a531ab86846d4062 (diff) | |
parent | df6c28a69a135cad249afe9940cd00a75bccc6b9 (diff) | |
download | mariadb-git-7c7801f955029de5f1a36cb67df7d72049dd83cc.tar.gz |
Merge bk-internal:/home/bk/mysql-5.1-rpl
into pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
client/mysqltest.c:
Auto merged
mysql-test/t/disabled.def:
Auto merged
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index c7819129c06..f79427ced10 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -2196,7 +2196,7 @@ int open_file(const char *name) if (!(cur_file->file = my_fopen(buff, O_RDONLY | FILE_BINARY, MYF(0)))) { cur_file--; - die("Could not open file '%s'", buff); + die("Could not open '%s' for reading", buff); } cur_file->file_name= my_strdup(buff, MYF(MY_FAE)); cur_file->lineno=1; @@ -5245,7 +5245,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), DBUG_ASSERT(cur_file == file_stack && cur_file->file == 0); if (!(cur_file->file= my_fopen(buff, O_RDONLY | FILE_BINARY, MYF(0)))) - die("Could not open %s: errno = %d", buff, errno); + die("Could not open '%s' for reading: errno = %d", buff, errno); cur_file->file_name= my_strdup(buff, MYF(MY_FAE)); cur_file->lineno= 1; break; @@ -5362,9 +5362,9 @@ void str_to_file2(const char *fname, char *str, int size, my_bool append) flags|= O_TRUNC; if ((fd= my_open(buff, flags, MYF(MY_WME | MY_FFNF))) < 0) - die("Could not open %s: errno = %d", buff, errno); + die("Could not open '%s' for writing: errno = %d", buff, errno); if (append && my_seek(fd, 0, SEEK_END, MYF(0)) == MY_FILEPOS_ERROR) - die("Could not find end of file %s: errno = %d", buff, errno); + die("Could not find end of file '%s': errno = %d", buff, errno); if (my_write(fd, (uchar*)str, size, MYF(MY_WME|MY_FNABP))) die("write failed"); my_close(fd, MYF(0)); |