mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
MDEV-34817 perfschema.lowercase_fs_off fails on buildbot
initialize counters when constructing a new PFS_program object The test fails because a newly created routine can get a performance schema slot freed by a routine dropped in an earlier test. The counters of a reused slot are not reset, so the new routine shows the old routine's statistics.
This commit is contained in:
committed by
Aleksey Midenkov
parent
c0eea2b8c5
commit
8cedfdf7e3
@@ -246,6 +246,8 @@ search:
|
||||
pfs->m_schema_name_length= schema_name_length;
|
||||
pfs->m_enabled= is_enabled;
|
||||
pfs->m_timed= is_timed;
|
||||
pfs->m_stmt_stat.reset();
|
||||
pfs->m_sp_stat.reset();
|
||||
|
||||
/* Insert this record. */
|
||||
pfs->m_lock.dirty_to_allocated(& dirty_state);
|
||||
|
||||
Reference in New Issue
Block a user