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
a2244a90
Commit
a2244a90
authored
Jul 05, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge jwinstead@production.mysql.com:my/mysql-5.0-10844
into mysql.com:/home/jimw/my/mysql-5.0-clean
parents
2669b866
01c690b7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-0
mysql-test/mysql_test_run_new.c
mysql-test/mysql_test_run_new.c
+1
-0
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+2
-1
mysql-test/t/information_schema.test
mysql-test/t/information_schema.test
+5
-4
No files found.
mysql-test/mysql-test-run.pl
View file @
a2244a90
...
@@ -1639,6 +1639,7 @@ sub mysqld_arguments ($$$$$) {
...
@@ -1639,6 +1639,7 @@ sub mysqld_arguments ($$$$$) {
mtr_add_arg
(
$args
,
"
%s--basedir=%s
",
$prefix
,
$path_my_basedir
);
mtr_add_arg
(
$args
,
"
%s--basedir=%s
",
$prefix
,
$path_my_basedir
);
mtr_add_arg
(
$args
,
"
%s--character-sets-dir=%s
",
$prefix
,
$path_charsetsdir
);
mtr_add_arg
(
$args
,
"
%s--character-sets-dir=%s
",
$prefix
,
$path_charsetsdir
);
mtr_add_arg
(
$args
,
"
%s--core
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--core
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--log-bin-trust-routine-creators
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--default-character-set=latin1
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--default-character-set=latin1
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--language=%s
",
$prefix
,
$path_language
);
mtr_add_arg
(
$args
,
"
%s--language=%s
",
$prefix
,
$path_language
);
mtr_add_arg
(
$args
,
"
%s--tmpdir=
$opt_tmpdir
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--tmpdir=
$opt_tmpdir
",
$prefix
);
...
...
mysql-test/mysql_test_run_new.c
View file @
a2244a90
...
@@ -486,6 +486,7 @@ void start_master()
...
@@ -486,6 +486,7 @@ void start_master()
#endif
#endif
add_arg
(
&
al
,
"--local-infile"
);
add_arg
(
&
al
,
"--local-infile"
);
add_arg
(
&
al
,
"--core"
);
add_arg
(
&
al
,
"--core"
);
add_arg
(
&
al
,
"--log-bin-trust-routine-creators"
);
add_arg
(
&
al
,
"--datadir=%s"
,
master_dir
);
add_arg
(
&
al
,
"--datadir=%s"
,
master_dir
);
#ifndef __WIN__
#ifndef __WIN__
add_arg
(
&
al
,
"--pid-file=%s"
,
master_pid
);
add_arg
(
&
al
,
"--pid-file=%s"
,
master_pid
);
...
...
mysql-test/r/information_schema.result
View file @
a2244a90
...
@@ -738,7 +738,7 @@ x_real NULL NULL
...
@@ -738,7 +738,7 @@ x_real NULL NULL
x_float NULL NULL
x_float NULL NULL
x_double_precision NULL NULL
x_double_precision NULL NULL
drop table t1;
drop table t1;
create user
mysqltest_4@localhost;
grant select on test.* to
mysqltest_4@localhost;
SELECT TABLE_NAME, COLUMN_NAME, PRIVILEGES FROM INFORMATION_SCHEMA.COLUMNS
SELECT TABLE_NAME, COLUMN_NAME, PRIVILEGES FROM INFORMATION_SCHEMA.COLUMNS
where COLUMN_NAME='TABLE_NAME';
where COLUMN_NAME='TABLE_NAME';
TABLE_NAME COLUMN_NAME PRIVILEGES
TABLE_NAME COLUMN_NAME PRIVILEGES
...
@@ -751,6 +751,7 @@ COLUMN_PRIVILEGES TABLE_NAME select
...
@@ -751,6 +751,7 @@ COLUMN_PRIVILEGES TABLE_NAME select
TABLE_CONSTRAINTS TABLE_NAME select
TABLE_CONSTRAINTS TABLE_NAME select
KEY_COLUMN_USAGE TABLE_NAME select
KEY_COLUMN_USAGE TABLE_NAME select
delete from mysql.user where user='mysqltest_4';
delete from mysql.user where user='mysqltest_4';
delete from mysql.db where user='mysqltest_4';
flush privileges;
flush privileges;
SELECT table_schema, count(*) FROM information_schema.TABLES GROUP BY TABLE_SCHEMA;
SELECT table_schema, count(*) FROM information_schema.TABLES GROUP BY TABLE_SCHEMA;
table_schema count(*)
table_schema count(*)
...
...
mysql-test/t/information_schema.test
View file @
a2244a90
...
@@ -489,13 +489,14 @@ drop table t1;
...
@@ -489,13 +489,14 @@ drop table t1;
# Bug#10261 INFORMATION_SCHEMA.COLUMNS, incomplete result for non root user
# Bug#10261 INFORMATION_SCHEMA.COLUMNS, incomplete result for non root user
#
#
create
user
mysqltest_4
@
localhost
;
grant
select
on
test
.*
to
mysqltest_4
@
localhost
;
connect
(
user4
,
localhost
,
mysqltest_4
,,);
connect
(
user4
,
localhost
,
mysqltest_4
,,);
connection
user4
;
connection
user4
;
SELECT
TABLE_NAME
,
COLUMN_NAME
,
PRIVILEGES
FROM
INFORMATION_SCHEMA
.
COLUMNS
SELECT
TABLE_NAME
,
COLUMN_NAME
,
PRIVILEGES
FROM
INFORMATION_SCHEMA
.
COLUMNS
where
COLUMN_NAME
=
'TABLE_NAME'
;
where
COLUMN_NAME
=
'TABLE_NAME'
;
connection
default
;
connection
default
;
delete
from
mysql
.
user
where
user
=
'mysqltest_4'
;
delete
from
mysql
.
user
where
user
=
'mysqltest_4'
;
delete
from
mysql
.
db
where
user
=
'mysqltest_4'
;
flush
privileges
;
flush
privileges
;
#
#
...
@@ -516,9 +517,9 @@ grant select on mysqltest.t2 to user2@localhost;
...
@@ -516,9 +517,9 @@ grant select on mysqltest.t2 to user2@localhost;
grant
select
on
mysqltest
.*
to
user3
@
localhost
;
grant
select
on
mysqltest
.*
to
user3
@
localhost
;
grant
select
on
*.*
to
user4
@
localhost
;
grant
select
on
*.*
to
user4
@
localhost
;
connect
(
con1
,
localhost
,
user1
,,);
connect
(
con1
,
localhost
,
user1
,,
mysqltest
);
connect
(
con2
,
localhost
,
user2
,,);
connect
(
con2
,
localhost
,
user2
,,
mysqltest
);
connect
(
con3
,
localhost
,
user3
,,);
connect
(
con3
,
localhost
,
user3
,,
mysqltest
);
connect
(
con4
,
localhost
,
user4
,,);
connect
(
con4
,
localhost
,
user4
,,);
connection
con1
;
connection
con1
;
select
*
from
information_schema
.
column_privileges
;
select
*
from
information_schema
.
column_privileges
;
...
...
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