14 lines
364 B
MySQL
14 lines
364 B
MySQL
|
/*
|
||
|
* Test privileges on the "main" verse.create_resource_providers( ) function
|
||
|
*/
|
||
|
BEGIN;
|
||
|
|
||
|
SELECT plan( 1 );
|
||
|
|
||
|
SELECT diag_test_name( 'verse.create_resource_providers( area ) - Privileges' );
|
||
|
PREPARE _test_this AS
|
||
|
SELECT verse.create_resource_providers( ROW( 0 , 0 , 1 , 1 ) );
|
||
|
SELECT throws_ok( '_test_this' , 42501 );
|
||
|
|
||
|
SELECT * FROM finish( );
|
||
|
ROLLBACK;
|