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