Change error message

pull/3082/head
gunnaraasen 2015-06-24 11:50:06 -07:00
parent 5bb4d3d3e6
commit 9e59272b0b
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ func (c *CommandLine) parseInto(stmt string) string {
func (c *CommandLine) Insert(stmt string) error {
i, point := parseNextIdentifier(stmt)
if !strings.EqualFold(i, "insert") {
fmt.Println("ERR: missing space after INSERT")
fmt.Printf("ERR: found %s, expected INSERT\n", i)
return nil
}
if i, r := parseNextIdentifier(point); strings.EqualFold(i, "into") {