11 lines
262 B
MySQL
11 lines
262 B
MySQL
|
/*
|
||
|
* Test privileges on sys.get_table_pkey()
|
||
|
*/
|
||
|
BEGIN;
|
||
|
SELECT plan( 1 );
|
||
|
|
||
|
SELECT diag_test_name( 'sys.get_table_pkey() - No EXECUTE privilege' );
|
||
|
SELECT throws_ok( $$ SELECT sys.get_table_pkey( 'a' , 'b' ) $$ , 42501 );
|
||
|
|
||
|
SELECT * FROM finish( );
|
||
|
ROLLBACK;
|