Change capabilities to uint64_t
- Since the capabilities are a bitmask, it is better if an unsigned integral type is used. - Since the function is part of an ABI, it is better if an explicit size is used. - 64-bits so that there also is room for independent filter capabilities.
This commit is contained in:
@ -92,7 +92,7 @@ static route_target_t get_shard_route_target(qc_query_type_t qtype,
|
||||
bool trx_active,
|
||||
HINT* hint);
|
||||
|
||||
static int getCapabilities();
|
||||
static uint64_t getCapabilities();
|
||||
|
||||
static bool connect_backend_servers(backend_ref_t* backend_ref,
|
||||
int router_nservers,
|
||||
@ -3642,7 +3642,7 @@ static void tracelog_routed_query(ROUTER_CLIENT_SES* rses,
|
||||
/**
|
||||
* Return RCAP_TYPE_STMT_INPUT.
|
||||
*/
|
||||
static int getCapabilities()
|
||||
static uint64_t getCapabilities()
|
||||
{
|
||||
return RCAP_TYPE_STMT_INPUT;
|
||||
}
|
||||
|
Reference in New Issue
Block a user