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
ef58da54
Commit
ef58da54
authored
Jan 15, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't ignore errors in readlink
parent
275a9293
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
myisam/mi_open.c
myisam/mi_open.c
+2
-3
No files found.
myisam/mi_open.c
View file @
ef58da54
...
@@ -142,9 +142,8 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
...
@@ -142,9 +142,8 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
goto
err
;
goto
err
;
}
}
/* Don't call realpath() if the name can't be a link */
/* Don't call realpath() if the name can't be a link */
if
(
strcmp
(
name_buff
,
org_name
))
if
(
strcmp
(
name_buff
,
org_name
)
||
(
void
)
my_readlink
(
index_name
,
org_name
,
MYF
(
0
));
my_readlink
(
index_name
,
org_name
,
MYF
(
0
))
==
-
1
)
else
(
void
)
strmov
(
index_name
,
org_name
);
(
void
)
strmov
(
index_name
,
org_name
);
(
void
)
fn_format
(
data_name
,
org_name
,
""
,
MI_NAME_DEXT
,
2
+
4
+
16
);
(
void
)
fn_format
(
data_name
,
org_name
,
""
,
MI_NAME_DEXT
,
2
+
4
+
16
);
...
...
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