This website works better with JavaScript.
Home
Explore
Help
Sign In
tgo
/
dbquery
Watch
6
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
37
Wiki
Activity
Browse Source
关闭sqlserver连接修改
master
v0.5.2
guzeng
3 years ago
parent
c8293a8936
commit
abb2bbf3b5
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
sqlserver.go
+ 4
- 1
sqlserver.go
View File
@ -58,5 +58,8 @@ func MSConnect(DBHOST, DBUSER, DBPWD, DBNAME, DBPORT string, conns ...int) error
}
func
CloseMSConn
(
)
error
{
return
MSDB_CONN
.
Close
(
)
if
MSDB_CONN
!=
nil
{
return
MSDB_CONN
.
Close
(
)
}
return
nil
}
Write
Preview
Loading…
Cancel
Save