mirror of https://github.com/apache/cassandra
Fix trigger example on 4.0
patch by Chris Lohfink; reviewed by jasobrown for CASSANDRA-13796
This commit is contained in:
parent
652d9f64f1
commit
2e5847d29b
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue