You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@quickstep.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/09/20 04:02:00 UTC

[jira] [Commented] (QUICKSTEP-104) LineReader cannot recognize a command if there are new lines before it.

    [ https://issues.apache.org/jira/browse/QUICKSTEP-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16172702#comment-16172702 ] 

ASF GitHub Bot commented on QUICKSTEP-104:
------------------------------------------

GitHub user jianqiao opened a pull request:

    https://github.com/apache/incubator-quickstep/pull/299

    QUICKSTEP-104 Fix the problem that LineReader cannot recognize a command if there are whitespaces before it.

    This PR fixes a bug that the Quickstep REPL cannot recognize a command (e.g. `\d`, `\analyze`) if there are whitespaces or empty lines before the command.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jianqiao/incubator-quickstep fix-extract-command

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-quickstep/pull/299.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #299
    
----
commit 77960a42dcfb3d27de5601548a04d81a6be79375
Author: Jianqiao Zhu <ji...@cs.wisc.edu>
Date:   2017-09-20T03:02:02Z

    Fix a bug in LineReader for recognizing command

----


> LineReader cannot recognize a command if there are new lines before it.
> -----------------------------------------------------------------------
>
>                 Key: QUICKSTEP-104
>                 URL: https://issues.apache.org/jira/browse/QUICKSTEP-104
>             Project: Apache Quickstep
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Jianqiao Zhu
>            Priority: Minor
>
> To reproduce this bug. Start `quickstep_cli_shell`, then press "enter" button to start a newline, then try:
> ```
> \d
> ```
> or
> ```
> \analyze
> ```



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)