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
fe850cdc
Commit
fe850cdc
authored
Feb 28, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge 5.0 -> 5.1
parent
aac14ae4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
15 deletions
+11
-15
mysql-test/r/grant2.result
mysql-test/r/grant2.result
+7
-8
mysql-test/t/grant2.test
mysql-test/t/grant2.test
+4
-7
No files found.
mysql-test/r/grant2.result
View file @
fe850cdc
...
@@ -338,15 +338,14 @@ create database TESTDB;
...
@@ -338,15 +338,14 @@ create database TESTDB;
create table t2(a int);
create table t2(a int);
create temporary table t1 as select * from mysql.user;
create temporary table t1 as select * from mysql.user;
delete from mysql.user where host='localhost';
delete from mysql.user where host='localhost';
INSERT INTO mysql.user VALUES
INSERT INTO mysql.user (host, user, password) VALUES
('%','mysqltest_1',password('password'),'N','N','N','N','N','N',
('%','mysqltest_1',password('password'));
'N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N',
'','','','',0,0,0,0);
INSERT INTO mysql.db VALUES
('%','TESTDB','mysqltest_1','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','N','Y','Y','Y','
Y','N');
Warnings:
Warnings:
Warning 1265 Data truncated for column 'Alter_routine_priv' at row 1
Warning 1364 Field 'ssl_cipher' doesn't have a default value
Warning 1364 Field 'x509_issuer' doesn't have a default value
Warning 1364 Field 'x509_subject' doesn't have a default value
INSERT INTO mysql.db (host, db, user, select_priv) VALUES
('%','TESTDB','mysqltest_1','Y');
FLUSH PRIVILEGES;
FLUSH PRIVILEGES;
create database TEStdb;
create database TEStdb;
ERROR 42000: Access denied for user 'mysqltest_1'@'%' to database 'TEStdb'
ERROR 42000: Access denied for user 'mysqltest_1'@'%' to database 'TEStdb'
...
...
mysql-test/t/grant2.test
View file @
fe850cdc
...
@@ -439,13 +439,10 @@ create database TESTDB;
...
@@ -439,13 +439,10 @@ create database TESTDB;
create
table
t2
(
a
int
);
create
table
t2
(
a
int
);
create
temporary
table
t1
as
select
*
from
mysql
.
user
;
create
temporary
table
t1
as
select
*
from
mysql
.
user
;
delete
from
mysql
.
user
where
host
=
'localhost'
;
delete
from
mysql
.
user
where
host
=
'localhost'
;
INSERT
INTO
mysql
.
user
VALUES
INSERT
INTO
mysql
.
user
(
host
,
user
,
password
)
VALUES
(
'%'
,
'mysqltest_1'
,
password
(
'password'
),
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
(
'%'
,
'mysqltest_1'
,
password
(
'password'
));
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
'N'
,
INSERT
INTO
mysql
.
db
(
host
,
db
,
user
,
select_priv
)
VALUES
''
,
''
,
''
,
''
,
0
,
0
,
0
,
0
);
(
'%'
,
'TESTDB'
,
'mysqltest_1'
,
'Y'
);
INSERT
INTO
mysql
.
db
VALUES
(
'%'
,
'TESTDB'
,
'mysqltest_1'
,
'Y'
,
'Y'
,
'Y'
,
'Y'
,
'Y'
,
'Y'
,
'N'
,
'Y'
,
'Y'
,
'Y'
,
'Y'
,
'N'
,
'Y'
,
'Y'
,
'Y'
,
'
Y'
,
'N'
);
FLUSH
PRIVILEGES
;
FLUSH
PRIVILEGES
;
connect
(
con1
,
localhost
,
mysqltest_1
,
password
,
TESTDB
);
connect
(
con1
,
localhost
,
mysqltest_1
,
password
,
TESTDB
);
...
...
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