Skip to content

Commit

Permalink
fix: macos need go1.18 veriosn
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed Dec 29, 2024
1 parent c3a0973 commit 2f2f7cd
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/3.0-coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
if: steps.changed-files-specific.outputs.any_changed == 'true'
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: Set up Rust
if: steps.changed-files-specific.outputs.any_changed == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/3.0-macos-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
|| github.event_name == 'schedule'
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: Set up Rust
if: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/3.0-macos-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
|| github.event_name == 'schedule'
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: Set up Rust
if: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/3.0-taosbenchmark-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
|| github.event_name == 'schedule'
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: Set up Rust
if: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/3.0-taosbenchmark-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
|| github.event_name == 'schedule'
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: Set up Rust
if: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/3.0-taosdump-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
|| github.event_name == 'schedule'
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: first build TDengine
if: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/3.0-taosdump-release-ws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
|| github.event_name == 'schedule'
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: Set up Rust
if:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/3.0-taosdump-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
|| github.event_name == 'schedule'
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: first build TDengine
if: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/3.0-windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
if: steps.changed-files-specific.outputs.any_changed == 'true'
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: Set up Rust
if:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
if: steps.changed-files-specific.outputs.any_changed == 'true'
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: Set up Rust
if: steps.changed-files-specific.outputs.any_changed == 'true'
Expand Down
5 changes: 3 additions & 2 deletions src/benchInsert.c
Original file line number Diff line number Diff line change
Expand Up @@ -1768,7 +1768,7 @@ int32_t reCreateConn(threadInfo * pThreadInfo) {

// select db
if (taos_select_db(pThreadInfo->conn->taos, pThreadInfo->dbInfo->dbName)) {
errorPrint("taos select database(%s) failed\n", pThreadInfo->dbInfo->dbName);
errorPrint("second taos select database(%s) failed\n", pThreadInfo->dbInfo->dbName);
return -1;
}

Expand Down Expand Up @@ -1835,6 +1835,7 @@ int32_t submitStmt2(threadInfo * pThreadInfo, TAOS_STMT2_BINDV *bindv, int64_t *
// failed
if (loop == 0) {
// failed for ever
errorPrint("finally faild execute submitStmt2() after retry %d \n", i);
return -1;
}
loop --;
Expand All @@ -1846,7 +1847,7 @@ int32_t submitStmt2(threadInfo * pThreadInfo, TAOS_STMT2_BINDV *bindv, int64_t *
code = reinitStmt2(pThreadInfo, w);
if (code != 0) {
// failed for ever
return -1;
errorPrint("faild reinitStmt2 and retry again for next i=%d \n", i);
}
}
}
Expand Down

0 comments on commit 2f2f7cd

Please sign in to comment.