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
7be4b6b5
Commit
7be4b6b5
authored
Dec 10, 2007
by
thek@adventure.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test fails because of non deterministric function: show grants for current_user()
parent
0f1665da
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
mysql-test/r/read_only.result
mysql-test/r/read_only.result
+0
-5
mysql-test/t/read_only.test
mysql-test/t/read_only.test
+0
-1
No files found.
mysql-test/r/read_only.result
View file @
7be4b6b5
...
...
@@ -60,11 +60,6 @@ grant all on mysqltest_db2.* to `mysqltest_u1`@`%`;
create database mysqltest_db1;
grant all on mysqltest_db1.* to `mysqltest_u1`@`%`;
flush privileges;
show grants for current_user();
Grants for mysqltest_u1@%
GRANT USAGE ON *.* TO 'mysqltest_u1'@'%'
GRANT ALL PRIVILEGES ON `mysqltest_db2`.* TO 'mysqltest_u1'@'%'
GRANT ALL PRIVILEGES ON `mysqltest_db1`.* TO 'mysqltest_u1'@'%'
create database mysqltest_db2;
ERROR HY000: The MySQL server is running with the --read-only option so it cannot execute this statement
show databases like '%mysqltest_db2%';
...
...
mysql-test/t/read_only.test
View file @
7be4b6b5
...
...
@@ -137,7 +137,6 @@ grant all on mysqltest_db1.* to `mysqltest_u1`@`%`;
flush
privileges
;
connect
(
con_bug27440
,
127.0
.
0.1
,
mysqltest_u1
,,
test
,
$MASTER_MYPORT
,);
connection
con_bug27440
;
show
grants
for
current_user
();
--
error
ER_OPTION_PREVENTS_STATEMENT
create
database
mysqltest_db2
;
show
databases
like
'%mysqltest_db2%'
;
...
...
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