diff --git a/src/mnode/src/mnodeAcct.c b/src/mnode/src/mnodeAcct.c index 64cfa28917cf6923230f0b7f70500c921c0d5a84..0ec330841caaa288c418bd272f776ca7563ebd63 100644 --- a/src/mnode/src/mnodeAcct.c +++ b/src/mnode/src/mnodeAcct.c @@ -215,7 +215,7 @@ static int32_t mnodeCreateRootAcct() { taosEncryptPass((uint8_t *)TSDB_DEFAULT_PASS, strlen(TSDB_DEFAULT_PASS), pAcct->pass); pAcct->cfg = (SAcctCfg){ .maxUsers = 128, - .maxDbs = 128, + .maxDbs = INT16_MAX, .maxTimeSeries = INT32_MAX, .maxConnections = 1024, .maxStreams = 1000, diff --git a/tests/script/unique/account/paras.sim b/tests/script/unique/account/paras.sim index 102f5b6a381e5100b35a4f0125b1318bcb8b1d76..77e010f5bd9269e868c4f963e7c920c41fade8a8 100644 --- a/tests/script/unique/account/paras.sim +++ b/tests/script/unique/account/paras.sim @@ -17,7 +17,7 @@ endi if $data02 != 3/128 then return -1 endi -if $data03 != 0/128 then +if $data03 != 0/32767 then return -1 endi if $data04 != 0/2147483647 then @@ -111,4 +111,4 @@ if $data16 != 0.000/10.000 then return -1 endi -system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file +system sh/exec.sh -n dnode1 -s stop -x SIGINT