mirror of
https://github.com/MariaDB/server.git
synced 2025-05-07 04:01:59 +03:00
Discover P_S tables automatically. Most of this patch is code clean-up: - removed tests and code responsible for P_S tables correctness verification - always return error from ha_perfschema::create() - install/upgrade scripts won't create P_S tables anymore
11 lines
396 B
Plaintext
11 lines
396 B
Plaintext
drop function if exists test.user_func;
|
|
"Testing mysql_upgrade with FUNCTION performance_schema.user_func"
|
|
create function test.user_func() returns integer
|
|
return 0;
|
|
update mysql.proc set db='performance_schema' where name='user_func';
|
|
select name from mysql.proc where db='performance_schema';
|
|
name
|
|
user_func
|
|
update mysql.proc set db='test' where name='user_func';
|
|
drop function test.user_func;
|