Skip to content

Commit

Permalink
fix:配置文件tdengine.dbname无效
Browse files Browse the repository at this point in the history
  • Loading branch information
zy committed Mar 1, 2024
1 parent 330b23d commit 02f9d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tsd/internal/tdengine/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (m *TdEngine) BatchInsertDeviceData(deviceKey string, deviceDataList []iotM
if sqlBuilder.Len() > 15*1024 || i == len(deviceDataList)-1 {
trimmedSQL := strings.TrimRight(sqlBuilder.String(), " ")
start := time.Now() // 开始时间
g.Log().Debug(context.Background(), "====06====BatchInsertDeviceData SQL:", trimmedSQL)
//g.Log().Debug(context.Background(), "====06====BatchInsertDeviceData SQL:", trimmedSQL)
//_, err := m.db.Exec(trimmedSQL)
if err != nil {
g.Log().Error(context.Background(), err.Error(), trimmedSQL)
Expand Down

0 comments on commit 02f9d7e

Please sign in to comment.