This repository has been archived on 2025-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
lwb6/legacyworlds-server-data/db-structure/tests/user/040-functions/055-generator-resources/030-create-resource-provider.sql

16 lines
433 B
MySQL
Raw Normal View History

/*
* 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;