feat/TS-5927-long-password-fix-cases

This commit is contained in:
dmchen 2025-02-13 00:46:08 +00:00
parent 36caaf7aab
commit 48123446d6
3 changed files with 3 additions and 3 deletions

View File

@ -833,7 +833,7 @@ TEST_F(ParserInitialATest, alterUser) {
ASSERT_EQ(req.sysInfo, expect.sysInfo); ASSERT_EQ(req.sysInfo, expect.sysInfo);
ASSERT_EQ(req.enable, expect.enable); ASSERT_EQ(req.enable, expect.enable);
ASSERT_EQ(std::string(req.user), std::string(expect.user)); ASSERT_EQ(std::string(req.user), std::string(expect.user));
ASSERT_EQ(std::string(req.pass), std::string(expect.pass)); ASSERT_EQ(std::string(req.longPass), std::string(expect.pass));
ASSERT_EQ(std::string(req.objname), std::string(expect.objname)); ASSERT_EQ(std::string(req.objname), std::string(expect.objname));
tFreeSAlterUserReq(&req); tFreeSAlterUserReq(&req);
}); });

View File

@ -1362,7 +1362,7 @@ TEST_F(ParserInitialCTest, createUser) {
ASSERT_EQ(req.sysInfo, expect.sysInfo); ASSERT_EQ(req.sysInfo, expect.sysInfo);
ASSERT_EQ(req.enable, expect.enable); ASSERT_EQ(req.enable, expect.enable);
ASSERT_EQ(std::string(req.user), std::string(expect.user)); ASSERT_EQ(std::string(req.user), std::string(expect.user));
ASSERT_EQ(std::string(req.pass), std::string(expect.pass)); ASSERT_EQ(std::string(req.longPass), std::string(expect.pass));
tFreeSCreateUserReq(&req); tFreeSCreateUserReq(&req);
}); });

View File

@ -120,7 +120,7 @@ if $rows != 3 then
endi endi
sql show variables; sql show variables;
if $rows != 88 then if $rows != 89 then
return -1 return -1
endi endi