Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't accept term command if ';' is EOL but within a quote #20

Open
ewaters opened this issue May 13, 2012 · 0 comments
Open

Don't accept term command if ';' is EOL but within a quote #20

ewaters opened this issue May 13, 2012 · 0 comments
Labels
Milestone

Comments

@ewaters
Copy link
Owner

ewaters commented May 13, 2012

This should work:

altsql> select * from film where title = ";
";

This means: select * from film where title = ";\n"
We need to look at the buffer and determine if the ';' or '\c' or '\g' is within a quote scope before treating it as an EOL signifier.

m-church pushed a commit to cv-library/altsql-shell that referenced this issue May 17, 2017
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 pushed a commit to cv-library/altsql-shell that referenced this issue May 17, 2017
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 pushed a commit to cv-library/altsql-shell that referenced this issue May 17, 2017
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 pushed a commit to cv-library/altsql-shell that referenced this issue May 17, 2017
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.
ewaters added a commit that referenced this issue May 17, 2017
Parsing Line Termination - Issue #20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant