Fix trigger example on 4.0

patch by Chris Lohfink; reviewed by jasobrown for CASSANDRA-13796
This commit is contained in:
Chris Lohfink 2017-08-24 09:55:55 -05:00 committed by Jason Brown
parent 652d9f64f1
commit 2e5847d29b
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
4.0
* Fix trigger example on 4.0 (CASSANDRA-13796)
* force minumum timeout value (CASSANDRA-9375)
* use netty for streaming (CASSANDRA-12229)
* Use netty for internode messaging (CASSANDRA-8457)

View File

@ -45,7 +45,7 @@ public class AuditTrigger implements ITrigger
audit.row()
.add("keyspace_name", update.metadata().keyspace)
.add("table_name", update.metadata().table)
.add("table_name", update.metadata().name)
.add("primary_key", update.metadata().partitionKeyType.getString(update.partitionKey().getKey()));
return Collections.singletonList(audit.buildAsMutation());