From 9d2cff0088ed902be51ce77541d62f2b02fa82b6 Mon Sep 17 00:00:00 2001 From: kangmin Date: Thu, 16 Jan 2025 13:23:59 +0900 Subject: [PATCH] Remove redundant sm_mark_system_classes function call. - Every system classes are marked already at authenticate_context::install() and system_catalog_builder::create_and_mark_system_class(). --- src/executables/util_sa.c | 2 -- src/transaction/boot_cl.c | 5 ----- 2 files changed, 7 deletions(-) diff --git a/src/executables/util_sa.c b/src/executables/util_sa.c index 9661f2f5b23..79d9ad79f17 100644 --- a/src/executables/util_sa.c +++ b/src/executables/util_sa.c @@ -667,8 +667,6 @@ createdb (UTIL_FUNCTION_ARG * arg) goto error_exit; } - sm_mark_system_classes (); - (void) lang_db_put_charset (); tzd = tz_get_data (); diff --git a/src/transaction/boot_cl.c b/src/transaction/boot_cl.c index ef8d0d32669..6f97d28d4f2 100644 --- a/src/transaction/boot_cl.c +++ b/src/transaction/boot_cl.c @@ -557,11 +557,6 @@ boot_initialize_client (BOOT_CLIENT_CREDENTIAL * client_credential, BOOT_DB_PATH error_code = catcls_install (); if (error_code == NO_ERROR) { - /* - * mark all classes created during the initialization as "system" - * classes, - */ - sm_mark_system_classes (); error_code = tran_commit (false); }