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/050-create-resource-providers.sql

14 lines
364 B
MySQL
Raw Permalink Normal View History

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