Fix initdb with B db bug.
This commit is contained in:
totaj
2023-11-07 11:52:57 +08:00
committed by pengjiong
parent ef0abc2b6c
commit f8baaa4e54
5 changed files with 7 additions and 9 deletions

View File

@ -7608,6 +7608,7 @@ void RemoveTempNamespace()
#if (!defined(ENABLE_MULTIPLE_NODES)) && (!defined(ENABLE_PRIVATEGAUSS))
#define INITIAL_USER_ID 10
/* IMPORTANT: load plugin should call after process is normal, cause heap_create_with_catalog will check it */
void LoadSqlPlugin()
{
if (u_sess->proc_cxt.MyDatabaseId != InvalidOid && DB_IS_CMPT(B_FORMAT) && IsFileExisted(DOLPHIN)) {