Skip to content

Commit

Permalink
Remove redundant sm_mark_system_classes function call.
Browse files Browse the repository at this point in the history
- Every system classes are marked already at authenticate_context::install() and system_catalog_builder::create_and_mark_system_class().
  • Loading branch information
kangmin5505 committed Jan 16, 2025
1 parent f54f4fa commit 9d2cff0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/executables/util_sa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down
5 changes: 0 additions & 5 deletions src/transaction/boot_cl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 9d2cff0

Please sign in to comment.