Remove redundant or unused avrorouter code
The code in avrorouter that returned the current transaction was not very useful and it can be acquired via the REST API in a more convenient format. The number of created sessions is tracked on the service level so there is no need to track it in the avrorouter. Removed declarations for functions that do not exist and moved code around to reduce the scope.
This commit is contained in:
@ -30,10 +30,6 @@ static bool warn_bit = false; /**< Remove when support for BIT is added */
|
||||
static bool warn_large_enumset = false; /**< Remove when support for ENUM/SET values
|
||||
* larger than 255 is added */
|
||||
|
||||
void notify_all_clients(Avro *router);
|
||||
void add_used_table(Avro* router, const char* table);
|
||||
|
||||
|
||||
uint8_t* process_row_event_data(STableMapEvent map, STableCreateEvent create,
|
||||
RowEventHandler* conv, uint8_t *ptr,
|
||||
uint8_t *columns_present, uint8_t *end);
|
||||
@ -262,7 +258,6 @@ bool handle_row_event(Avro *router, REP_HEADER *hdr, uint8_t *ptr)
|
||||
rows++;
|
||||
}
|
||||
|
||||
add_used_table(router, table_ident);
|
||||
rval = true;
|
||||
}
|
||||
else if (!ok)
|
||||
|
||||
Reference in New Issue
Block a user