Skip to content

Commit

Permalink
fix: case error for commandline.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed Jun 1, 2024
1 parent 4f8ef78 commit 1398ccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/benchInsertMix.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ bool insertDataMix(threadInfo* info, SDataBase* db, SSuperTable* stb) {
// get child table
SChildTable *childTbl;
if (g_arguments->bind_vgroup) {
childTbl = pThreadInfo->vg->childTblArray[tbIdx];
childTbl = info->vg->childTblArray[tbIdx];
} else {
childTbl = stb->childTblArray[tbIdx];
}
Expand Down
2 changes: 1 addition & 1 deletion tests/taosbenchmark/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def run(self):
tdLog.info("%s" % cmd)
assert os.system("%s" % cmd) != 0

cmd = "%s -n 1 -t 1 -y -A int,json" % binPath
cmd = "%s -n 1 -t 1 -y -A json" % binPath
tdLog.info("%s" % cmd)
assert os.system("%s" % cmd) != 0

Expand Down

0 comments on commit 1398ccc

Please sign in to comment.