Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4666

Add multi-line support to cqlsh history buffer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.6
    • Legacy/Tools
    • None

    Description

      The cqlsh tool has history support. If you press the up arrow, you get previous entries.

      If you do a multi-line command however like:

       cqlsh > do
      something;
      

      when you press the up arrow you get each individual statement separately. (First "something;" and then "do").

      This is not useful if you type a large create statement and typo one of the pieces.

      It'd be nice if cqlsh supported multi-line history items and could bring them back with the up arrow.

      Attachments

        1. trunk-4166.patch.take2
          0.9 kB
          Matthew Horsfall (alh)
        2. trunk-4666.patch
          0.9 kB
          Matthew Horsfall (alh)

        Activity

          People

            Unassigned Unassigned
            mhorsfall Matthew Horsfall (alh)
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified