Commit aacf8e3a authored by unknown's avatar unknown

Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into  zim.(none):/home/brian/mysql/dep-5.1

parents 7c1d1276 2cf4bf8c
...@@ -144,7 +144,7 @@ static int create_check_file(const char *path) ...@@ -144,7 +144,7 @@ static int create_check_file(const char *path)
static int create_defaults_file(const char *path, const char *our_defaults_path) static int create_defaults_file(const char *path, const char *our_defaults_path)
{ {
uint b_read; uint b_read;
File our_defaults_file; File our_defaults_file, defaults_file;
char buffer[512]; char buffer[512];
char *buffer_end; char *buffer_end;
int error; int error;
...@@ -153,7 +153,7 @@ static int create_defaults_file(const char *path, const char *our_defaults_path) ...@@ -153,7 +153,7 @@ static int create_defaults_file(const char *path, const char *our_defaults_path)
if (!opt_password) if (!opt_password)
return 0; return 0;
File defaults_file= my_open(path, O_BINARY | O_CREAT | O_WRONLY, defaults_file= my_open(path, O_BINARY | O_CREAT | O_WRONLY,
MYF(MY_FAE | MY_WME)); MYF(MY_FAE | MY_WME));
if (defaults_file < 0) if (defaults_file < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment