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/030-tech/040-techdep-clear.sql
Emmanuel BENOîT 1f3c7a9202 Technology definitions loader
* Added "dummy" data file for technologies (for now it simply copies the
old, line-based technologies) and corresponding XML schema

* Added missing SQL stored procedure to clear all dependencies and
reverse dependencies from a technology

* Added import classes, loader and import tool for the technology graph

* Added tech graph import tool to post-build tests
2012-02-27 20:04:02 +01:00

13 lines
No EOL
249 B
PL/PgSQL

/*
* Test privileges on defs.techdep_remove()
*/
BEGIN;
SELECT plan( 1 );
SELECT diag_test_name( 'defs.techdep_clear() - EXECUTE privilege' );
SELECT lives_ok( $$
SELECT defs.techdep_clear( '' );
$$ );
SELECT * FROM finish( );
ROLLBACK;