MDEV-34817 perfschema.lowercase_fs_off fails on buildbot

initialize counters when constructing a new PFS_program object
This commit is contained in:
Sergei Golubchik 2025-08-03 14:54:22 +02:00
parent 90f5e09956
commit 089caf901f

View File

@ -236,6 +236,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);