bug fixed for errorf

This commit is contained in:
Lunny Xiao 2016-10-19 16:55:38 +08:00
parent e653751f49
commit cd9eef351a
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ func (engine *Engine) DBMetas() ([]*core.Table, error) {
if col := table.GetColumn(name); col != nil {
col.Indexes[index.Name] = index.Type
} else {
return nil, fmt.Errorf("Unknown col "+name+" in indexes %v of table", index, table.ColumnsSeq())
return nil, fmt.Errorf("Unknown col %s in indexe %v of table %v, columns %v", name, index.Name, table.Name, table.ColumnsSeq())
}
}
}