未验证 提交 4a644da7 编写于 作者: P plum-lihui 提交者: GitHub

Merge pull request #373 from satng/patch-1

Update taosSqlCgo.go
......@@ -33,7 +33,7 @@ func (mc *taosConn) taosConnect(ip, user, pass, db string, port int) (taos unsaf
cuser := C.CString(user)
cpass := C.CString(pass)
cip := C.CString(ip)
cdb := C.CString("")
cdb := C.CString(db)
defer C.free(unsafe.Pointer(cip))
defer C.free(unsafe.Pointer(cuser))
defer C.free(unsafe.Pointer(cpass))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册