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
fc2fe364
Commit
fc2fe364
authored
Aug 28, 2003
by
jani@rhols221.adsl.netsonic.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed restriction not to be able use non regular files.
parent
31b337fe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
extra/my_print_defaults.c
extra/my_print_defaults.c
+1
-0
mysys/default.c
mysys/default.c
+0
-2
No files found.
extra/my_print_defaults.c
View file @
fc2fe364
...
...
@@ -143,6 +143,7 @@ int main(int argc, char **argv)
if
(
error
==
1
)
fprintf
(
stderr
,
"WARNING: Defaults file '%s' not found!
\n
"
,
config_file
);
/* This error is not available now. For the future */
if
(
error
==
2
)
fprintf
(
stderr
,
"WARNING: Defaults file '%s' is not a regular file!
\n
"
,
config_file
);
...
...
mysys/default.c
View file @
fc2fe364
...
...
@@ -320,8 +320,6 @@ static int search_default_file(DYNAMIC_ARRAY *args, MEM_ROOT *alloc,
name
);
return
0
;
}
else
if
((
stat_info
.
st_mode
&
S_IFMT
)
!=
S_IFREG
)
return
2
;
}
#endif
if
(
!
(
fp
=
my_fopen
(
fn_format
(
name
,
name
,
""
,
""
,
4
),
O_RDONLY
,
MYF
(
0
))))
...
...
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