未验证 提交 0f213b3a 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #17270 from taosdata/feat/TD-17777-V26

fix(shell): lastWord function need one one byte for p1 pointer V26
......@@ -1251,7 +1251,7 @@ char * lastWord(char * p) {
char * p2 = strrchr(p, ',');
if (p1 && p2) {
return p1 > p2 ? p1 : p2 + 1;
return p1 > p2 ? p1 + 1 : p2 + 1;
} else if (p1) {
return p1 + 1;
} else if(p2) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册