|
@ -431,6 +431,14 @@ func (this *Query) Find() (map[string]string, error) { |
|
|
log.Println("Err: no conn") |
|
|
log.Println("Err: no conn") |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var connection_id int |
|
|
|
|
|
err = conn.Query("select CONNECTION_ID()").Scan(&connection_id) |
|
|
|
|
|
if err != nil { |
|
|
|
|
|
log.Println("query connection id failed:", err) |
|
|
|
|
|
} else { |
|
|
|
|
|
log.Println("connection id:", connection_id) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
_, row, err := GetRow(conn, this.dbname, this.table, this.alias, this.title, this.join, |
|
|
_, row, err := GetRow(conn, this.dbname, this.table, this.alias, this.title, this.join, |
|
|
this.where, this.where_or, this.value, this.orderby, this.debug) |
|
|
this.where, this.where_or, this.value, this.orderby, this.debug) |
|
|
|
|
|
|
|
|