parser: Address comment

This commit is contained in:
Shen Li
2015-10-30 22:59:29 +08:00
parent b6ee1409fb
commit ba5a6b806a

View File

@ -1892,7 +1892,7 @@ Literal:
co, err := charset.GetDefaultCollation(tp.Charset)
if err != nil {
l := yylex.(*lexer)
l.err(fmt.Sprintf("Get collation error for charset: %s", tp.Charset))
l.errf("Get collation error for charset: %s", tp.Charset)
return 1
}
tp.Collate = co