Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.11, 11.4, 11.8, 12.1, 12.2
-
None
-
Not for Release Notes
Description
After recent additions for MDEV-37710 , this would, fails like this, after 5 minutes hang.
Makes all appveyor builds fails, because the compilation there is without perfschema.
The reason for the failure is referencing sys schema (sys.ps_is_consumer_enabled), and sys schema is not there is perfschema is not compiled in
worker[01] Using MTR_BUILD_THREAD 300, with reserved ports 19000..19029
|
main.sp-bugs2 [ fail ]
|
Test ended at 2025-11-10 15:42:36
|
|
|
CURRENT_TEST: main.sp-bugs2
|
mysqltest: At line 123: query 'reap' failed: ER_SP_DOES_NOT_EXIST (1305): FUNCTION sys.ps_is_consumer_enabled does not exist
|
|
|
The result from queries just before the failure was:
|
< snip >
|
begin
|
declare found int;
|
repeat
|
set found = exists (select * from information_schema.routines where routine_name='f');
|
if (sys.ps_is_consumer_enabled('events_waits_history_long') = 'yes') then
|
select * from mysql.user;
|
end if;
|
select release_all_locks();
|
until found end repeat;
|
end$$
|
select get_lock('p1', 300);
|
get_lock('p1', 300)
|
1
|
call p1();
|
connect con1,localhost,root,,;
|
select get_lock('p1', 300);
|
get_lock('p1', 300)
|
0
|
create function f() returns int return 1;
|
connection default;
|
Attachments
Issue Links
- relates to
-
MDEV-37710 ASAN errors in find_type2 upon executing a procedure from sys schema
-
- Closed
-