Browse Source

debug

master v0.1.3
guzeng 2 years ago
parent
commit
5e94131ea4
1 changed files with 3 additions and 0 deletions
  1. +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 {


Loading…
Cancel
Save