tdb break, try revert

This commit is contained in:
dmchen 2024-04-11 03:01:05 +00:00
parent 05d6e27c69
commit f1d7d79c24
1 changed files with 0 additions and 3 deletions

View File

@ -168,13 +168,10 @@ 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