bug fixed for sql parser
Merge pull request #688 from wenshao/master

bug fixed for sql parser