diff options
author | unknown <evgen@sunlight.local> | 2006-08-24 03:05:13 +0400 |
---|---|---|
committer | unknown <evgen@sunlight.local> | 2006-08-24 03:05:13 +0400 |
commit | d0394c70708055af5a5914154b1692ba517115f6 (patch) | |
tree | f5614b67c8787eeeac6c424061e26044361b1a1c /mysql-test | |
parent | e8bb0c9295fd9f1f9df2f16ecf4949ab2b226762 (diff) | |
download | mariadb-git-d0394c70708055af5a5914154b1692ba517115f6.tar.gz |
view.result, view.test:
Corrected test case for the bug#21261
sql_parse.cc:
Corrected fix for bug#21261
mysql-test/t/view.test:
Corrected test case for the bug#21261
mysql-test/r/view.result:
Corrected test case for the bug#21261
sql/sql_parse.cc:
Corrected fix for bug#21261
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/view.result | 1 | ||||
-rw-r--r-- | mysql-test/t/view.test | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/view.result b/mysql-test/r/view.result index 5b170d056f7..6dc2db09392 100644 --- a/mysql-test/r/view.result +++ b/mysql-test/r/view.result @@ -2861,6 +2861,7 @@ GRANT SELECT ON t2 TO 'user21261'@'localhost'; INSERT INTO v1 (x) VALUES (5); UPDATE v1 SET x=1; GRANT SELECT ON v1 TO 'user21261'@'localhost'; +GRANT SELECT ON t1 TO 'user21261'@'localhost'; UPDATE v1,t2 SET x=1 WHERE x=y; SELECT * FROM t1; x diff --git a/mysql-test/t/view.test b/mysql-test/t/view.test index 23e49588e8b..fae3f856cb8 100644 --- a/mysql-test/t/view.test +++ b/mysql-test/t/view.test @@ -2740,6 +2740,7 @@ INSERT INTO v1 (x) VALUES (5); UPDATE v1 SET x=1; CONNECTION root; GRANT SELECT ON v1 TO 'user21261'@'localhost'; +GRANT SELECT ON t1 TO 'user21261'@'localhost'; CONNECTION user21261; UPDATE v1,t2 SET x=1 WHERE x=y; CONNECTION root; |