summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-18 03:13:37 +0200
committermonty@mashka.mysql.fi <>2003-01-18 03:13:37 +0200
commit76f146a17551e218727ee4a5544edb62d3cbe56e (patch)
treeb24bce166fd5affbcc506bbc7d70c2c7ef00f561 /client
parent1b03f007101aa5123a7e55add3db5139a47bddc6 (diff)
parentc1d614192ee6930aed50f0cf64bf60abf6c1acb0 (diff)
downloadmariadb-git-76f146a17551e218727ee4a5544edb62d3cbe56e.tar.gz
Merge with 4.0.9
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index f3037fcc173..8138450680e 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -42,7 +42,7 @@
**********************************************************************/
-#define MTEST_VERSION "1.26"
+#define MTEST_VERSION "1.27"
#include <my_global.h>
#include <mysql_embed.h>
@@ -684,7 +684,7 @@ int open_file(const char* name)
if (*cur_file && cur_file == file_stack_end)
die("Source directives are nesting too deep");
- if (!(*(cur_file+1) = my_fopen(buff, O_RDONLY, MYF(MY_WME))))
+ if (!(*(cur_file+1) = my_fopen(buff, O_RDONLY | O_BINARY, MYF(MY_WME))))
die(NullS);
cur_file++;
*++lineno=1;
@@ -1924,7 +1924,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
argument= buff;
}
fn_format(buff, argument, "", "", 4);
- if (!(*++cur_file = my_fopen(buff, O_RDONLY, MYF(MY_WME))))
+ if (!(*++cur_file = my_fopen(buff, O_RDONLY | O_BINARY, MYF(MY_WME))))
die("Could not open %s: errno = %d", argument, errno);
break;
}