mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
enhance: do not ignore error from gdb.FormatMultiLineSqlToSingle func (#3368)
This commit is contained in:
@ -32,7 +32,11 @@ ORDER BY a.attnum`
|
||||
)
|
||||
|
||||
func init() {
|
||||
tableFieldsSqlTmp = gdb.FormatMultiLineSqlToSingle(tableFieldsSqlTmp)
|
||||
var err error
|
||||
tableFieldsSqlTmp, err = gdb.FormatMultiLineSqlToSingle(tableFieldsSqlTmp)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
// TableFields retrieves and returns the fields' information of specified table of current schema.
|
||||
|
||||
Reference in New Issue
Block a user