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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2b18eedc
Commit
2b18eedc
authored
May 07, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/ram/work/5.0
parents
de275d94
4ef759c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
mysys/default.c
mysys/default.c
+9
-4
No files found.
mysys/default.c
View file @
2b18eedc
...
@@ -152,10 +152,15 @@ int my_search_option_files(const char *conf_file, int *argc, char ***argv,
...
@@ -152,10 +152,15 @@ int my_search_option_files(const char *conf_file, int *argc, char ***argv,
}
}
else
if
(
defaults_extra_file
)
else
if
(
defaults_extra_file
)
{
{
if
(
search_default_file
(
func
,
func_ctx
,
NullS
,
if
(
search_default_file_with_ext
(
func
,
func_ctx
,
""
,
""
,
defaults_extra_file
)
<
0
)
defaults_extra_file
,
0
)
<
0
)
goto
err
;
/* Fatal error */
goto
err
;
/* Fatal error */
if
(
error
>
0
)
{
fprintf
(
stderr
,
"Could not open required defaults file: %s
\n
"
,
defaults_extra_file
);
goto
err
;
}
}
}
}
}
}
}
...
@@ -526,7 +531,7 @@ static int search_default_file_with_ext(Process_option_func opt_handler,
...
@@ -526,7 +531,7 @@ static int search_default_file_with_ext(Process_option_func opt_handler,
}
}
#endif
#endif
if
(
!
(
fp
=
my_fopen
(
name
,
O_RDONLY
,
MYF
(
0
))))
if
(
!
(
fp
=
my_fopen
(
name
,
O_RDONLY
,
MYF
(
0
))))
return
0
;
/* Ignore wrong files */
return
1
;
/* Ignore wrong files */
while
(
fgets
(
buff
,
sizeof
(
buff
)
-
1
,
fp
))
while
(
fgets
(
buff
,
sizeof
(
buff
)
-
1
,
fp
))
{
{
...
...
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