Skip to content

Commit 1afea3a

Browse files
committed
WL#15200 PERFORMANCE_SCHEMA, OTEL COMPONENT: METRICS
Add support for opentelemetry metrics. Approved by: Chris Powers <[email protected]> Approved by: Miroslav Rajcic <[email protected]>
1 parent 4fb1d96 commit 1afea3a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sql/mysqld.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,14 +2112,13 @@ static void server_component_deinit() { deinit_thd_store_service(); }
21122112
static bool mysql_component_infrastructure_init() {
21132113
sysd::notify("STATUS=Components initialization in progress\n");
21142114
server_component_init();
2115+
21152116
/* We need a temporary THD during boot */
21162117
const Auto_THD thd;
21172118
const Disable_autocommit_guard autocommit_guard(thd.thd);
21182119
const dd::cache::Dictionary_client::Auto_releaser scope_releaser(
21192120
thd.thd->dd_client());
21202121

2121-
server_component_init();
2122-
21232122
if (persistent_dynamic_loader_init(thd.thd)) {
21242123
LogErr(ERROR_LEVEL, ER_COMPONENTS_PERSIST_LOADER_BOOTSTRAP);
21252124
trans_rollback_stmt(thd.thd);

0 commit comments

Comments
 (0)