1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

perfschema is disabled until it's enabled

as it was thinking it was enabled even if initialize_performance_schema
wasn't called at all
This commit is contained in:
Sergei Golubchik
2024-03-28 21:31:24 +01:00
parent 53af3d8c25
commit 190280205b
2 changed files with 2 additions and 1 deletions

View File

@@ -55,7 +55,7 @@
Indicate if the performance schema is enabled. Indicate if the performance schema is enabled.
This flag is set at startup, and never changes. This flag is set at startup, and never changes.
*/ */
my_bool pfs_enabled= TRUE; my_bool pfs_enabled= FALSE;
/** /**
PFS_INSTRUMENT option settings array PFS_INSTRUMENT option settings array

View File

@@ -743,6 +743,7 @@ void do_all_tests()
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
plan(209); plan(209);
pfs_enabled= 1;
MY_INIT(argv[0]); MY_INIT(argv[0]);
do_all_tests(); do_all_tests();
my_end(0); my_end(0);