tdb break, try remove

This commit is contained in:
dmchen 2024-04-10 08:54:01 +00:00
parent 44872ebc6c
commit e68ae8f756
1 changed files with 3 additions and 0 deletions

View File

@ -168,10 +168,13 @@ static void vmGenerateVnodeCfg(SCreateVnodeReq *pCreate, SVnodeCfg *pCfg) {
#endif #endif
#if defined(TD_ENTERPRISE) #if defined(TD_ENTERPRISE)
/*
pCfg->tdbEncryptAlgorithm = pCreate->encryptAlgorithm; pCfg->tdbEncryptAlgorithm = pCreate->encryptAlgorithm;
if(pCfg->tdbEncryptAlgorithm == DND_CA_SM4){ if(pCfg->tdbEncryptAlgorithm == DND_CA_SM4){
strncpy(pCfg->tdbEncryptKey, tsEncryptKey, ENCRYPT_KEY_LEN); strncpy(pCfg->tdbEncryptKey, tsEncryptKey, ENCRYPT_KEY_LEN);
} }
*/
pCfg->tdbEncryptAlgorithm = 0;
#else #else
pCfg->tdbEncryptAlgorithm = 0; pCfg->tdbEncryptAlgorithm = 0;
#endif #endif