Repository: cassandra Updated Branches: refs/heads/trunk b0954a0c1 -> 41433073f
cqlsh: fix BATCH CAS result printing (for once #6561 is committed) Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/bbc56eb6 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/bbc56eb6 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/bbc56eb6 Branch: refs/heads/trunk Commit: bbc56eb60d9c9629deb231131d65cf55ee15c2db Parents: 15fd82c Author: Aleksey Yeschenko <alek...@apache.org> Authored: Sat Feb 15 04:03:10 2014 +0300 Committer: Aleksey Yeschenko <alek...@apache.org> Committed: Sat Feb 15 04:03:10 2014 +0300 ---------------------------------------------------------------------- bin/cqlsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/bbc56eb6/bin/cqlsh ---------------------------------------------------------------------- diff --git a/bin/cqlsh b/bin/cqlsh index 0add46c..1b97783 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -921,7 +921,7 @@ class Shell(cmd.Cmd): if statement[:6].lower() == 'select' or statement.lower().startswith("list"): self.print_result(self.cursor, with_default_limit) - elif self.cursor.rowcount == 1: + elif self.cursor.rowcount > 0: # CAS INSERT/UPDATE self.writeresult("") self.print_static_result(self.cursor)