This website works better with JavaScript.
Home
Explore
Help
Sign In
tgo
/
mysql
Watch
6
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
7
Wiki
Activity
Browse Source
debug
master
v0.1.3
guzeng
2 years ago
parent
c299bd5bf1
commit
5e94131ea4
1 changed files
with
3 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
tencentdb/chain.go
+ 3
- 0
tencentdb/chain.go
View File
@ -419,6 +419,9 @@ func (this *Query) List() ([]map[string]string, error) {
*
return
row
error
*
return
row
error
*
/
*
/
func
(
this
*
Query
)
Find
(
)
(
map
[
string
]
string
,
error
)
{
func
(
this
*
Query
)
Find
(
)
(
map
[
string
]
string
,
error
)
{
log
.
Println
(
this
.
conn
)
conn
,
err
:=
connectDb
(
dbhost_slaver
,
dbuser_slaver
,
dbpwd_slaver
,
dbname_slaver
,
dbport_slaver
,
1
,
0
)
conn
,
err
:=
connectDb
(
dbhost_slaver
,
dbuser_slaver
,
dbpwd_slaver
,
dbname_slaver
,
dbport_slaver
,
1
,
0
)
if
err
!=
nil
{
if
err
!=
nil
{
Write
Preview
Loading…
Cancel
Save