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
74f670f2
Commit
74f670f2
authored
Jan 24, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/gluh/MySQL/Merge/5.0
parents
30382bee
fbc24f33
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+5
-0
mysql-test/t/information_schema.test
mysql-test/t/information_schema.test
+10
-0
mysys/my_lib.c
mysys/my_lib.c
+2
-0
No files found.
mysql-test/r/information_schema.result
View file @
74f670f2
...
@@ -1084,3 +1084,8 @@ DROP TABLE t1;
...
@@ -1084,3 +1084,8 @@ DROP TABLE t1;
DROP VIEW v1;
DROP VIEW v1;
DROP FUNCTION func1;
DROP FUNCTION func1;
DROP FUNCTION func2;
DROP FUNCTION func2;
create database mysqltest;
create table mysqltest.t1(a int);
select table_schema from information_schema.tables where table_schema='mysqltest';
table_schema
drop database mysqltest;
mysql-test/t/information_schema.test
View file @
74f670f2
...
@@ -790,3 +790,13 @@ DROP TABLE t1;
...
@@ -790,3 +790,13 @@ DROP TABLE t1;
DROP
VIEW
v1
;
DROP
VIEW
v1
;
DROP
FUNCTION
func1
;
DROP
FUNCTION
func1
;
DROP
FUNCTION
func2
;
DROP
FUNCTION
func2
;
#
# Bug #15851 Unlistable directories yield no info from information_schema
#
create
database
mysqltest
;
create
table
mysqltest
.
t1
(
a
int
);
--
exec
chmod
-
r
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest
select
table_schema
from
information_schema
.
tables
where
table_schema
=
'mysqltest'
;
--
exec
chmod
+
r
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest
drop
database
mysqltest
;
mysys/my_lib.c
View file @
74f670f2
...
@@ -170,6 +170,8 @@ MY_DIR *my_dir(const char *path, myf MyFlags)
...
@@ -170,6 +170,8 @@ MY_DIR *my_dir(const char *path, myf MyFlags)
bzero
(
finfo
.
mystat
,
sizeof
(
MY_STAT
));
bzero
(
finfo
.
mystat
,
sizeof
(
MY_STAT
));
VOID
(
strmov
(
tmp_file
,
dp
->
d_name
));
VOID
(
strmov
(
tmp_file
,
dp
->
d_name
));
VOID
(
my_stat
(
tmp_path
,
finfo
.
mystat
,
MyFlags
));
VOID
(
my_stat
(
tmp_path
,
finfo
.
mystat
,
MyFlags
));
if
(
!
(
finfo
.
mystat
->
st_mode
&
MY_S_IREAD
))
continue
;
}
}
else
else
finfo
.
mystat
=
NULL
;
finfo
.
mystat
=
NULL
;
...
...
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