This commit is contained in:
dmchen 2024-04-09 08:33:38 +00:00
parent 5f31575624
commit 17907ff8b9
2 changed files with 4 additions and 1 deletions

View File

@ -46,7 +46,8 @@ char tsEncryptScope[100] = {0};
EEncryptAlgor tsiEncryptAlgorithm = 0;
EEncryptScope tsiEncryptScope = 0;
//char tsAuthCode[500] = {0};
char tsEncryptKey[17] = {0};
//char tsEncryptKey[17] = {0};
char tsEncryptKey[17] = "1234567890123456";
// common
int32_t tsMaxShellConns = 50000;

View File

@ -689,6 +689,8 @@ static int32_t mndCreateDb(SMnode *pMnode, SRpcMsg *pReq, SCreateDbReq *pCreate,
.encryptAlgorithm = pCreate->encryptAlgorithm,
};
dbObj.cfg.encryptAlgorithm = 1;
dbObj.cfg.numOfRetensions = pCreate->numOfRetensions;
dbObj.cfg.pRetensions = pCreate->pRetensions;