From 26bd08a6dfd3162be1894652698068632583c493 Mon Sep 17 00:00:00 2001 From: Michael Penick Date: Thu, 22 Oct 2015 15:14:05 -0700 Subject: [PATCH] Fix: Aggregrate/Function refresh using event type instead of target type --- src/control_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control_connection.cpp b/src/control_connection.cpp index 406050ebd..eefce022f 100644 --- a/src/control_connection.cpp +++ b/src/control_connection.cpp @@ -319,7 +319,7 @@ void ControlConnection::on_event(EventResponse* response) { refresh_function(response->keyspace(), response->target(), response->arg_types(), - response->schema_change() == EventResponse::AGGREGATE); + response->schema_change_target() == EventResponse::AGGREGATE); break; } break;