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
de9a058b
Commit
de9a058b
authored
Sep 24, 2004
by
rburnett@build.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #5539 SHOW DATABASES LIKE and symlinks
sql_show.cc: Added wild card check to symdir block in mysql_find_files
parent
6ba5a570
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sql/sql_show.cc
sql/sql_show.cc
+2
-1
No files found.
sql/sql_show.cc
View file @
de9a058b
...
...
@@ -204,7 +204,8 @@ mysql_find_files(THD *thd,List<char> *files, const char *db,const char *path,
if
(
end
!=
buff
&&
end
[
-
1
]
==
FN_LIBCHAR
)
end
[
-
1
]
=
0
;
// Remove end FN_LIBCHAR
if
(
!
my_stat
(
buff
,
&
status
,
MYF
(
0
))
||
!
MY_S_ISDIR
(
status
.
st_mode
))
!
MY_S_ISDIR
(
status
.
st_mode
)
||
(
wild
&&
wild_compare
(
file
->
name
,
wild
,
0
)))
continue
;
}
else
...
...
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