Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
55e9ec99
Commit
55e9ec99
authored
Apr 10, 2006
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into zim.(none):/home/brian/mysql/dep-5.1
parents
eaf850ef
691822a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
client/mysql_upgrade.c
client/mysql_upgrade.c
+3
-3
No files found.
client/mysql_upgrade.c
View file @
55e9ec99
...
...
@@ -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
)
{
uint
b_read
;
File
our_defaults_file
;
File
our_defaults_file
,
defaults_file
;
char
buffer
[
512
];
char
*
buffer_end
;
int
error
;
...
...
@@ -153,8 +153,8 @@ static int create_defaults_file(const char *path, const char *our_defaults_path)
if
(
!
opt_password
)
return
0
;
File
defaults_file
=
my_open
(
path
,
O_BINARY
|
O_CREAT
|
O_WRONLY
,
MYF
(
MY_FAE
|
MY_WME
));
defaults_file
=
my_open
(
path
,
O_BINARY
|
O_CREAT
|
O_WRONLY
,
MYF
(
MY_FAE
|
MY_WME
));
if
(
defaults_file
<
0
)
return
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment