ewaters / altsql-shell

An easily extensible DBI shell, perfect for a drop-in replacement to mysql-client
http://ewaters.github.com/altsql-shell
123 stars 19 forks source link

Parsing Line Termination - Issue #20 #47

Closed m-church closed 7 years ago

m-church commented 7 years ago

Introducting a new method in the Model to parse a line from the command prompt and determine whether the command is complete.

For example - altsql> select * from film where title = "; ";

This failed because it stops at the end of the line even though we are inside quotation marks.

m-church commented 7 years ago

As part of the Cpan Pull Request Challenge.