cqlsh: Fix INSERT and UPDATE LWT handling

Patch by Eduard Tudenhoefner; reviewed by Tyler Hobbs for
CASSANDRA-11003
This commit is contained in:
Eduard Tudenhoefner 2016-01-22 15:49:11 -06:00 committed by Tyler Hobbs
parent 22d6f649ff
commit 414c1c5771
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
3.0.3
* (cqlsh) handle INSERT and UPDATE statements with LWT conditions correctly
(CASSANDRA-11003)
* Fix DISTINCT queries in mixed version clusters (CASSANDRA-10762)
* Migrate build status for indexes along with legacy schema (CASSANDRA-11046)
* Ensure SSTables for legacy KEYS indexes can be read (CASSANDRA-11045)

View File

@ -1269,7 +1269,7 @@ class Shell(cmd.Cmd):
elif result:
# CAS INSERT/UPDATE
self.writeresult("")
self.print_static_result(result.column_names, list(result), self.parse_for_table_meta(statement.query_string))
self.print_static_result(result.column_names, list(result), self.parse_for_update_meta(statement.query_string))
self.flush_output()
return True, future