Execution of the test case for bug #21261 fails in the ps-protocol mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Critical
|
Oleksandr "Sanja" Byelkin |
Bug Description
With the current LP tree maria-5.3-mwl106 execution of the test case for bug #21261 from
mysql-test/
igor@sophia:
Logging: ./mysql-test-run --ps-protocol view
vardir: /home/igor/
Checking leftover processes...
Removing old var directory...
Creating var directory '/home/
Installing system database...
Checking supported features...
MariaDB Version 5.3.0
- skipping ndbcluster
- SSL connections supported
- binaries are debug compiled
Collecting tests...
Using server port 55279
=======
TEST RESULT TIME (ms)
-------
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
main.view [ fail ]
Test ended at 2011-05-17 15:12:00
CURRENT_TEST: main.view
mysqltest: At line 2803: query 'INSERT INTO v1 (x) VALUES (5)' failed: 1356: View 'bug21261DB.v1' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
The result from queries just before the failure was:
< snip >
ERROR 42S02: Unknown table 'v2'
SHOW TABLES;
Tables_in_test
t1
CREATE VIEW v1 AS SELECT id FROM t1;
DROP VIEW t1,v1;
ERROR HY000: 'test.t1' is not VIEW
SHOW TABLES;
Tables_in_test
t1
DROP TABLE t1;
DROP VIEW IF EXISTS v1;
CREATE DATABASE bug21261DB;
USE bug21261DB;
CREATE TABLE t1 (x INT);
CREATE SQL SECURITY INVOKER VIEW v1 AS SELECT x FROM t1;
GRANT INSERT, UPDATE ON v1 TO 'user21261'
GRANT INSERT, UPDATE ON t1 TO 'user21261'
CREATE TABLE t2 (y INT);
GRANT SELECT ON t2 TO 'user21261'
More results from queries before failure can be found in /home/igor/
Warnings from just before the error:
Error 1143 SELECT command denied to user 'user21261'
Error 1356 View 'bug21261DB.v1' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
- saving '/home/
-------
The servers were restarted 0 times
Spent 0.000 of 9 seconds executing testcases
Failure: Failed 1/1 tests, 0.00% were successful.
Failing test(s): main.view
The log files in var/log may give you some hint of what went wrong.
Changed in maria: | |
milestone: | none → 5.3 |
importance: | Undecided → Critical |
status: | New → Confirmed |
assignee: | nobody → Oleksandr "Sanja" Byelkin (sanja-byelkin) |
Changed in maria: | |
status: | Confirmed → Fix Committed |
Changed in maria: | |
status: | Fix Committed → Fix Released |