mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Modifications to funcs_1 files for 5.1.22rc release including:
- Updated row help count information - Added missing 'order by' clauses (altrady fixed in build tree) - Fixed isses with ndb_storeproc06/10 tests (added use database) - Corrected use of wrong engine in ndb tests (already fixed in build tree) - Update to ndb__datadict to replect additional fields in I_S (already corrected in build tree)
This commit is contained in:
@@ -18,9 +18,9 @@
|
||||
let $message= Section 3.1.6 - Privilege Checks:;
|
||||
--source include/show_msg80.inc
|
||||
|
||||
USE db_storedproc_1;
|
||||
|
||||
connection default;
|
||||
USE db_storedproc_1;
|
||||
--source suite/funcs_1/include/show_connection.inc
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -58,6 +58,7 @@ disconnect user1a;
|
||||
|
||||
# add privilege again and check
|
||||
connection default;
|
||||
USE db_storedproc_1;
|
||||
--source suite/funcs_1/include/show_connection.inc
|
||||
|
||||
GRANT CREATE ROUTINE ON db_storedproc_1.* TO 'user_1'@'localhost';
|
||||
@@ -77,6 +78,7 @@ disconnect user1b;
|
||||
|
||||
# cleanup
|
||||
connection default;
|
||||
USE db_storedproc_1;
|
||||
--source suite/funcs_1/include/show_connection.inc
|
||||
|
||||
DROP USER 'user_1'@'localhost';
|
||||
@@ -132,6 +134,7 @@ disconnect user2;
|
||||
|
||||
# cleanup
|
||||
connection default;
|
||||
USE db_storedproc_1;
|
||||
--source suite/funcs_1/include/show_connection.inc
|
||||
|
||||
drop user 'user_1'@'localhost';
|
||||
|
@@ -21,7 +21,6 @@ let $message= Section 3.1.10 - CALL checks:;
|
||||
--source include/show_msg80.inc
|
||||
|
||||
|
||||
USE db_storedproc;
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
let $message= Testcase 3.1.10.2 + 3.1.10.5:;
|
||||
@@ -80,6 +79,7 @@ SELECT fn31105( 9 );
|
||||
|
||||
# now 'add' EXECUTE to INVOKER
|
||||
connection default;
|
||||
USE db_storedproc;
|
||||
--source suite/funcs_1/include/show_connection.inc
|
||||
# root can execute ...
|
||||
CALL sp31102();
|
||||
@@ -98,6 +98,7 @@ disconnect user2_3;
|
||||
|
||||
# now 'remove' SELECT from INVOKER
|
||||
connection default;
|
||||
USE db_storedproc;
|
||||
--source suite/funcs_1/include/show_connection.inc
|
||||
REVOKE EXECUTE ON db_storedproc.* FROM 'user_2'@'localhost';
|
||||
FLUSH PRIVILEGES;
|
||||
@@ -115,6 +116,7 @@ disconnect user2_4;
|
||||
|
||||
# cleanup
|
||||
connection default;
|
||||
USE db_storedproc;
|
||||
|
||||
--source suite/funcs_1/include/show_connection.inc
|
||||
DROP PROCEDURE sp31102;
|
||||
|
Reference in New Issue
Block a user