Commit Graph

2 Commits (9b3f0399af9e69723ce0a414ecf4b6fbf72d33f0)

Author SHA1 Message Date
Kai Zhang ef262171d6 trim command line before parse it
This can avoid some errors caused by an additional space at the end of
the command line.

For example: 'use db ' will be trimed to 'use db' and parsed correctly.

Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-03-01 10:44:20 +08:00
Cory LaNou 36cd5d1b24 add some basic test coverage for now 2015-02-03 10:22:50 -07:00