Commit 19028020 authored by Sergei Golubchik's avatar Sergei Golubchik

perfschema is disabled until it's enabled

as it was thinking it was enabled even if initialize_performance_schema
wasn't called at all
parent 53af3d8c
...@@ -55,7 +55,7 @@ ...@@ -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
......
...@@ -743,6 +743,7 @@ void do_all_tests() ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment