cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasobr...@apache.org
Subject cassandra git commit: Fix trigger example on 4.0
Date Thu, 24 Aug 2017 15:35:46 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 652d9f64f -> 2e5847d29


Fix trigger example on 4.0

patch by Chris Lohfink; reviewed by jasobrown for CASSANDRA-13796


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/2e5847d2
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/2e5847d2
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/2e5847d2

Branch: refs/heads/trunk
Commit: 2e5847d29bbdd45fd4fc73f071779d91326ceeba
Parents: 652d9f6
Author: Chris Lohfink <clohfink@users.noreply.github.com>
Authored: Thu Aug 24 09:55:55 2017 -0500
Committer: Jason Brown <jasedbrown@gmail.com>
Committed: Thu Aug 24 08:34:34 2017 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                        | 1 +
 .../triggers/src/org/apache/cassandra/triggers/AuditTrigger.java   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/2e5847d2/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index e19e9dd..92ff455 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -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)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/2e5847d2/examples/triggers/src/org/apache/cassandra/triggers/AuditTrigger.java
----------------------------------------------------------------------
diff --git a/examples/triggers/src/org/apache/cassandra/triggers/AuditTrigger.java b/examples/triggers/src/org/apache/cassandra/triggers/AuditTrigger.java
index 2528ec7..b0172b0 100644
--- a/examples/triggers/src/org/apache/cassandra/triggers/AuditTrigger.java
+++ b/examples/triggers/src/org/apache/cassandra/triggers/AuditTrigger.java
@@ -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());


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message