|
|
@ -406,6 +406,7 @@ func GetRow(dbName, table_name, alias string, titles string, join [][]string, wh |
|
|
|
} |
|
|
|
|
|
|
|
if err != nil { |
|
|
|
log.Println("DB error:", err) |
|
|
|
rows.Close() |
|
|
|
return count, info, err |
|
|
|
} |
|
|
@ -436,6 +437,7 @@ func GetRow(dbName, table_name, alias string, titles string, join [][]string, wh |
|
|
|
} |
|
|
|
rows.Close() |
|
|
|
if rowerr != nil { |
|
|
|
log.Println("DB row error:", rowerr) |
|
|
|
return count, info, rowerr |
|
|
|
} |
|
|
|
return count, info, nil |
|
|
|