16 lines
433 B
MySQL
16 lines
433 B
MySQL
|
/*
|
||
|
* Test privileges on verse.create_resource_provider( )
|
||
|
*/
|
||
|
BEGIN;
|
||
|
|
||
|
SELECT plan( 1 );
|
||
|
|
||
|
SELECT diag_test_name( 'verse.create_resource_provider( ) - Privileges' );
|
||
|
PREPARE _test_this AS
|
||
|
SELECT * FROM verse.create_resource_provider( 12 ,
|
||
|
ROW( 34 , 0.0 , 0.0 , 0.0 , 0.0 , 5.0 , 0.0 , 0.0 , 0.75 , 0.0 , 0.0 , 0.5 , 0 ) ,
|
||
|
2 , 10 , 1.5 , 1 );
|
||
|
SELECT throws_ok( '_test_this' , 42501 );
|
||
|
|
||
|
SELECT * FROM finish( );
|
||
|
ROLLBACK;
|