Format with Uncrustify 0.67
This commit is contained in:
@ -169,7 +169,7 @@ typedef struct cache_storage_api
|
||||
* created.
|
||||
*/
|
||||
CACHE_STORAGE* (*createInstance)(const char* name,
|
||||
const CACHE_STORAGE_CONFIG * config,
|
||||
const CACHE_STORAGE_CONFIG* config,
|
||||
int argc, char* argv[]);
|
||||
|
||||
/**
|
||||
|
||||
2
server/modules/filter/cache/rules.cc
vendored
2
server/modules/filter/cache/rules.cc
vendored
@ -161,7 +161,7 @@ static bool cache_rules_parse_json(CACHE_RULES* self, json_t* root);
|
||||
|
||||
typedef bool (* cache_rules_parse_element_t)(CACHE_RULES* self, json_t* object, size_t index);
|
||||
|
||||
static bool cache_rules_parse_array(CACHE_RULES* self, json_t* store, const char* name,
|
||||
static bool cache_rules_parse_array(CACHE_RULES * self, json_t* store, const char* name,
|
||||
cache_rules_parse_element_t);
|
||||
static bool cache_rules_parse_store_element(CACHE_RULES* self, json_t* object, size_t index);
|
||||
static bool cache_rules_parse_use_element(CACHE_RULES* self, json_t* object, size_t index);
|
||||
|
||||
@ -26,7 +26,7 @@ using maxscale::string_printf;
|
||||
|
||||
namespace
|
||||
{
|
||||
using VisitorFunc = std::function<bool(MariaDBServer*)>; // Used by graph search
|
||||
using VisitorFunc = std::function<bool (MariaDBServer*)>; // Used by graph search
|
||||
|
||||
/**
|
||||
* Generic depth-first search. Iterates through the root and its child nodes (slaves) and runs
|
||||
|
||||
@ -1267,12 +1267,12 @@ string SlaveStatus::to_string() const
|
||||
slave_sql_running ? "Yes" : "No");
|
||||
|
||||
string rval = string_printf(
|
||||
" Host: %22s, IO/SQL running: %7s, Master ID: %4" PRId64 ", Gtid_IO_Pos: %s, R.Lag: %d",
|
||||
host_port.c_str(),
|
||||
running_states.c_str(),
|
||||
master_server_id,
|
||||
gtid_io_pos.to_string().c_str(),
|
||||
seconds_behind_master);
|
||||
" Host: %22s, IO/SQL running: %7s, Master ID: %4" PRId64 ", Gtid_IO_Pos: %s, R.Lag: %d",
|
||||
host_port.c_str(),
|
||||
running_states.c_str(),
|
||||
master_server_id,
|
||||
gtid_io_pos.to_string().c_str(),
|
||||
seconds_behind_master);
|
||||
return rval;
|
||||
}
|
||||
|
||||
|
||||
@ -69,7 +69,7 @@ static int gw_client_hangup_event(DCB* dcb);
|
||||
static char* gw_default_auth();
|
||||
static int gw_connection_limit(DCB* dcb, int limit);
|
||||
static int MySQLSendHandshake(DCB* dcb);
|
||||
static int route_by_statement(MXS_SESSION*, uint64_t, GWBUF * *);
|
||||
static int route_by_statement(MXS_SESSION*, uint64_t, GWBUF**);
|
||||
static void mysql_client_auth_error_handling(DCB* dcb, int auth_val, int packet_number);
|
||||
static int gw_read_do_authentication(DCB* dcb, GWBUF* read_buffer, int nbytes_read);
|
||||
static int gw_read_normal_data(DCB* dcb, GWBUF* read_buffer, int nbytes_read);
|
||||
|
||||
Reference in New Issue
Block a user