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
0ee625fa
Commit
0ee625fa
authored
Feb 12, 2010
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move test case. Embedded server does not support privilege
related bits.
parent
be632a2f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
23 deletions
+25
-23
mysql-test/r/view.result
mysql-test/r/view.result
+0
-10
mysql-test/r/view_grant.result
mysql-test/r/view_grant.result
+11
-0
mysql-test/t/view.test
mysql-test/t/view.test
+0
-13
mysql-test/t/view_grant.test
mysql-test/t/view_grant.test
+14
-0
No files found.
mysql-test/r/view.result
View file @
0ee625fa
...
...
@@ -3845,16 +3845,6 @@ ALTER TABLE v1;
DROP VIEW v1;
DROP TABLE t1;
#
# Bug#47734: Assertion failed: ! is_set() when locking a view with non-existing definer
#
DROP VIEW IF EXISTS v1;
CREATE DEFINER=`unknown`@`unknown` SQL SECURITY DEFINER VIEW v1 AS SELECT 1;
Warnings:
Note 1449 The user specified as a definer ('unknown'@'unknown') does not exist
LOCK TABLES v1 READ;
ERROR HY000: The user specified as a definer ('unknown'@'unknown') does not exist
DROP VIEW v1;
#
# Bug#48449: hang on show create view after upgrading when
# view contains function of view
#
...
...
mysql-test/r/view_grant.result
View file @
0ee625fa
...
...
@@ -1237,3 +1237,14 @@ SELECT a FROM v2;
a
DROP USER mysqluser1;
DROP DATABASE mysqltest1;
USE test;
#
# Bug#47734: Assertion failed: ! is_set() when locking a view with non-existing definer
#
DROP VIEW IF EXISTS v1;
CREATE DEFINER=`unknown`@`unknown` SQL SECURITY DEFINER VIEW v1 AS SELECT 1;
Warnings:
Note 1449 The user specified as a definer ('unknown'@'unknown') does not exist
LOCK TABLES v1 READ;
ERROR HY000: The user specified as a definer ('unknown'@'unknown') does not exist
DROP VIEW v1;
mysql-test/t/view.test
View file @
0ee625fa
...
...
@@ -3869,19 +3869,6 @@ ALTER TABLE v1;
DROP
VIEW
v1
;
DROP
TABLE
t1
;
--
echo
#
--
echo
# Bug#47734: Assertion failed: ! is_set() when locking a view with non-existing definer
--
echo
#
--
disable_warnings
DROP
VIEW
IF
EXISTS
v1
;
--
enable_warnings
CREATE
DEFINER
=
`unknown`
@
`unknown`
SQL
SECURITY
DEFINER
VIEW
v1
AS
SELECT
1
;
--
error
ER_NO_SUCH_USER
LOCK
TABLES
v1
READ
;
DROP
VIEW
v1
;
--
echo
#
--
echo
# Bug#48449: hang on show create view after upgrading when
--
echo
# view contains function of view
...
...
mysql-test/t/view_grant.test
View file @
0ee625fa
...
...
@@ -1532,3 +1532,17 @@ SELECT a FROM v2;
--
disconnect
mysqluser1
DROP
USER
mysqluser1
;
DROP
DATABASE
mysqltest1
;
USE
test
;
--
echo
#
--
echo
# Bug#47734: Assertion failed: ! is_set() when locking a view with non-existing definer
--
echo
#
--
disable_warnings
DROP
VIEW
IF
EXISTS
v1
;
--
enable_warnings
CREATE
DEFINER
=
`unknown`
@
`unknown`
SQL
SECURITY
DEFINER
VIEW
v1
AS
SELECT
1
;
--
error
ER_NO_SUCH_USER
LOCK
TABLES
v1
READ
;
DROP
VIEW
v1
;
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