未验证 提交 953f949b 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

fix: examples/go/taosdemo.go (#17922)

上级 658b56ba
...@@ -26,7 +26,7 @@ import ( ...@@ -26,7 +26,7 @@ import (
"sync" "sync"
"time" "time"
_ "github.com/taosdata/driver-go/taosSql" _ "github.com/taosdata/driver-go/v3/taosSql"
) )
const ( const (
...@@ -173,7 +173,7 @@ func createDatabase(dbName string, supTblName string) { ...@@ -173,7 +173,7 @@ func createDatabase(dbName string, supTblName string) {
time.Sleep(time.Second) time.Sleep(time.Second)
// create database // create database
sqlStr = "create database " + dbName + " keep " + strconv.Itoa(configPara.keep) + " days " + strconv.Itoa(configPara.days) sqlStr = "create database " + dbName
_, err = db.Exec(sqlStr) _, err = db.Exec(sqlStr)
checkErr(err, sqlStr) checkErr(err, sqlStr)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册