mirror of
https://github.com/MariaDB/server.git
synced 2025-08-27 13:04:36 +03:00
--skip-grant-tables. However when deleting functions UDFs list was checked regardless of whther UDFs are initialized or not. Additional check is added into free_udf() and find_udf() functions to prevent possible runtime errors. mysql-test/r/skip_grants.result: Test result for #17595 patch. mysql-test/t/skip_grants.test: Test for #17595 patch.
18 lines
483 B
Plaintext
18 lines
483 B
Plaintext
drop table if exists t1,v1;
|
|
drop view if exists t1,v1;
|
|
drop procedure if exists f1;
|
|
use test;
|
|
create table t1 (field1 INT);
|
|
CREATE VIEW v1 AS SELECT field1 FROM t1;
|
|
ERROR HY000: Definer is not fully qualified
|
|
drop table t1;
|
|
create procedure f1() select 1;
|
|
drop procedure f1;
|
|
create table t1 (a int);
|
|
create definer='user'@'host' sql security definer view v1 as select * from t1;
|
|
drop view v1;
|
|
drop table t1;
|
|
drop function if exists f1;
|
|
Warnings:
|
|
Note 1305 FUNCTION f1 does not exist
|