diff --git a/include/maxscale/protocol/mysql.h b/include/maxscale/protocol/mysql.h index a1b69ba90..5e0aa2455 100644 --- a/include/maxscale/protocol/mysql.h +++ b/include/maxscale/protocol/mysql.h @@ -36,12 +36,8 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include #include MXS_BEGIN_DECLS diff --git a/query_classifier/qc_sqlite/qc_sqlite.cc b/query_classifier/qc_sqlite/qc_sqlite.cc index a2be5e894..3ca60fe2f 100644 --- a/query_classifier/qc_sqlite/qc_sqlite.cc +++ b/query_classifier/qc_sqlite/qc_sqlite.cc @@ -22,10 +22,11 @@ #include #include #include +#include #include #include -#include #include + #include #include #include @@ -33,6 +34,8 @@ #include #include #include +#include + #include "builtin_functions.h" using std::vector; diff --git a/server/core/modutil.cc b/server/core/modutil.cc index 73e452bd4..820652b7b 100644 --- a/server/core/modutil.cc +++ b/server/core/modutil.cc @@ -13,27 +13,18 @@ /** * @file modutil.c - Implementation of useful routines for modules - * - * @verbatim - * Revision History - * - * Date Who Description - * 04/06/14 Mark Riddoch Initial implementation - * 24/10/14 Massimiliano Pinto Added modutil_send_mysql_err_packet, modutil_create_mysql_err_msg - * 04/01/16 Martin Brampton Streamline code in modutil_get_complete_packets - * - * @endverbatim */ #include #include -#include -#include #include -#include +#include #include #include +#include +#include +#include /** These are used when converting MySQL wildcards to regular expressions */ static SPINLOCK re_lock = SPINLOCK_INIT; diff --git a/server/core/secrets.cc b/server/core/secrets.cc index c56d4b429..7d54debce 100644 --- a/server/core/secrets.cc +++ b/server/core/secrets.cc @@ -14,16 +14,16 @@ #include #include -#include -#include - #include +#include +#include #include #include #include #include #include +#include #include "maxscale/secrets.h" diff --git a/server/modules/authenticator/GSSAPI/GSSAPIAuth/gssapi_auth.c b/server/modules/authenticator/GSSAPI/GSSAPIAuth/gssapi_auth.c index 5b1d31960..d029b6eef 100644 --- a/server/modules/authenticator/GSSAPI/GSSAPIAuth/gssapi_auth.c +++ b/server/modules/authenticator/GSSAPI/GSSAPIAuth/gssapi_auth.c @@ -13,14 +13,19 @@ #define MXS_MODULE_NAME "GSSAPIAuth" -#include +#include + #include +#include #include #include +#include #include #include -#include +#include #include +#include + #include "../gssapi_auth.h" /** diff --git a/server/modules/authenticator/GSSAPI/GSSAPIBackendAuth/gssapi_backend_auth.c b/server/modules/authenticator/GSSAPI/GSSAPIBackendAuth/gssapi_backend_auth.c index 103efff5f..bce684ba7 100644 --- a/server/modules/authenticator/GSSAPI/GSSAPIBackendAuth/gssapi_backend_auth.c +++ b/server/modules/authenticator/GSSAPI/GSSAPIBackendAuth/gssapi_backend_auth.c @@ -13,11 +13,13 @@ #define MXS_MODULE_NAME "GSSAPIBackendAuth" -#include #include +#include #include #include #include +#include + #include "../gssapi_auth.h" /** diff --git a/server/modules/authenticator/MySQLAuth/dbusers.c b/server/modules/authenticator/MySQLAuth/dbusers.c index 25719fa70..2dba1f99a 100644 --- a/server/modules/authenticator/MySQLAuth/dbusers.c +++ b/server/modules/authenticator/MySQLAuth/dbusers.c @@ -17,21 +17,21 @@ #include "mysql_auth.h" -#include #include -#include #include +#include +#include #include +#include +#include +#include +#include +#include +#include #include #include -#include -#include -#include -#include -#include -#include -#include +#include /** Don't include the root user */ #define USERS_QUERY_NO_ROOT " AND user.user NOT IN ('root')" diff --git a/server/modules/authenticator/MySQLBackendAuth/mysql_backend_auth.c b/server/modules/authenticator/MySQLBackendAuth/mysql_backend_auth.c index 74667051f..3f02d6674 100644 --- a/server/modules/authenticator/MySQLBackendAuth/mysql_backend_auth.c +++ b/server/modules/authenticator/MySQLBackendAuth/mysql_backend_auth.c @@ -20,20 +20,14 @@ * The "heavy lifting" of the authentication is done by the protocol module so * the only thing left for this module is to read the final OK packet from the * server. - * - * @verbatim - * Revision History - * Date Who Description - * 27/09/2016 Markus Makela Initial version - * - * @endverbatim */ #define MXS_MODULE_NAME "MySQLBackendAuth" +#include #include #include -#include +#include #include /** Authentication states */ diff --git a/server/modules/filter/cache/cachefilter.cc b/server/modules/filter/cache/cachefilter.cc index d6ac54a58..16fd1b0cc 100644 --- a/server/modules/filter/cache/cachefilter.cc +++ b/server/modules/filter/cache/cachefilter.cc @@ -13,12 +13,15 @@ #define MXS_MODULE_NAME "cache" #include "cachefilter.hh" + #include -#include +#include #include +#include +#include + #include "cachemt.hh" #include "cachept.hh" -#include "maxscale/jansson.hh" using std::auto_ptr; using std::string; diff --git a/server/modules/filter/cache/cachept.cc b/server/modules/filter/cache/cachept.cc index bf6433b85..28d10dbe9 100644 --- a/server/modules/filter/cache/cachept.cc +++ b/server/modules/filter/cache/cachept.cc @@ -13,8 +13,11 @@ #define MXS_MODULE_NAME "cache" #include "cachept.hh" + #include +#include #include + #include "cachest.hh" #include "storagefactory.hh" diff --git a/server/modules/filter/cache/rules.cc b/server/modules/filter/cache/rules.cc index 112413859..476b31a22 100644 --- a/server/modules/filter/cache/rules.cc +++ b/server/modules/filter/cache/rules.cc @@ -13,16 +13,20 @@ #define MXS_MODULE_NAME "cache" #include "rules.h" + #include #include #include + #include +#include #include #include #include #include #include #include + #include "cachefilter.h" static int next_thread_id = 0; diff --git a/server/modules/filter/cache/test/testrules.cc b/server/modules/filter/cache/test/testrules.cc index 95c1f29f6..21195bad7 100644 --- a/server/modules/filter/cache/test/testrules.cc +++ b/server/modules/filter/cache/test/testrules.cc @@ -11,13 +11,15 @@ * Public License. */ -#include #include "rules.h" + #include -#include +#include #include -#include +#include #include +#include + #if !defined(SS_DEBUG) #define SS_DEBUG #endif diff --git a/server/modules/filter/cache/test/teststorage.cc b/server/modules/filter/cache/test/teststorage.cc index 152db03fb..a7aba812c 100644 --- a/server/modules/filter/cache/test/teststorage.cc +++ b/server/modules/filter/cache/test/teststorage.cc @@ -12,12 +12,16 @@ */ #include + #include #include + #include -#include #include +#include #include +#include + #include "storagefactory.hh" #include "teststorage.hh" diff --git a/server/modules/filter/masking/maskingfilter.cc b/server/modules/filter/masking/maskingfilter.cc index 412a15615..47d2f211c 100644 --- a/server/modules/filter/masking/maskingfilter.cc +++ b/server/modules/filter/masking/maskingfilter.cc @@ -13,8 +13,11 @@ #define MXS_MODULE_NAME "masking" #include "maskingfilter.hh" -#include + #include +#include +#include + #include "maskingrules.hh" using std::auto_ptr; diff --git a/server/modules/filter/masking/maskingfiltersession.cc b/server/modules/filter/masking/maskingfiltersession.cc index 9aa6a61d0..7e8426648 100644 --- a/server/modules/filter/masking/maskingfiltersession.cc +++ b/server/modules/filter/masking/maskingfiltersession.cc @@ -13,11 +13,15 @@ #define MXS_MODULE_NAME "masking" #include "maskingfiltersession.hh" + #include + #include #include #include +#include #include + #include "maskingfilter.hh" #include "mysql.hh" diff --git a/server/modules/filter/masking/maskingrules.hh b/server/modules/filter/masking/maskingrules.hh index 7b1d5cc4d..162396c5a 100644 --- a/server/modules/filter/masking/maskingrules.hh +++ b/server/modules/filter/masking/maskingrules.hh @@ -13,11 +13,14 @@ */ #include -#include -#include + #include +#include #include -#include + +#include +#include + #include "mysql.hh" /** diff --git a/server/modules/filter/maxrows/maxrows.c b/server/modules/filter/maxrows/maxrows.c index e9a6d56cf..54d043429 100644 --- a/server/modules/filter/maxrows/maxrows.c +++ b/server/modules/filter/maxrows/maxrows.c @@ -13,37 +13,28 @@ /** * @file maxrows.c - Result set limit Filter - * @verbatim - * - * - * The filter returns a void result set if the number of rows in the result set - * from backend exceeds the max_rows parameter. - * - * Date Who Description - * 26/10/2016 Massimiliano Pinto Initial implementation - * 04/11/2016 Massimiliano Pinto Addition of SERVER_MORE_RESULTS_EXIST flag (0x0008) - * detection in handle_expecting_rows(). - * 07/11/2016 Massimiliano Pinto handle_expecting_rows renamed to handle_rows - * 20/12/2016 Massimiliano Pinto csdata->res.n_rows counter works with MULTI_RESULT - * and large packets (> 16MB) - * - * @endverbatim */ #define MXS_MODULE_NAME "maxrows" + +#include + +#include +#include + #include +#include +#include #include -#include #include #include #include #include -#include -#include -#include -#include +#include +#include #include -#include +#include + #include "maxrows.h" static MXS_FILTER *createInstance(const char *name, diff --git a/server/modules/protocol/MySQL/MySQLBackend/mysql_backend.c b/server/modules/protocol/MySQL/MySQLBackend/mysql_backend.c index c1f1b994e..ae220e52a 100644 --- a/server/modules/protocol/MySQL/MySQLBackend/mysql_backend.c +++ b/server/modules/protocol/MySQL/MySQLBackend/mysql_backend.c @@ -13,15 +13,16 @@ #define MXS_MODULE_NAME "MySQLBackend" -#include +#include #include #include -#include -#include -#include -#include #include +#include +#include #include +#include +#include +#include /* * MySQL Protocol module for handling the protocol between the gateway diff --git a/server/modules/protocol/MySQL/MySQLClient/mysql_client.cc b/server/modules/protocol/MySQL/MySQLClient/mysql_client.cc index 0e1ab2332..3dcf12fac 100644 --- a/server/modules/protocol/MySQL/MySQLClient/mysql_client.cc +++ b/server/modules/protocol/MySQL/MySQLClient/mysql_client.cc @@ -15,24 +15,27 @@ #define MXS_MODULE_NAME "MySQLClient" #include + #include #include #include #include -#include -#include -#include + #include #include #include #include #include #include +#include #include #include +#include #include -#include #include +#include +#include + #include "setsqlmodeparser.hh" /** Return type of process_special_commands() */ diff --git a/server/modules/protocol/MySQL/mysql_common.c b/server/modules/protocol/MySQL/mysql_common.c index 5811a760d..8e19005fc 100644 --- a/server/modules/protocol/MySQL/mysql_common.c +++ b/server/modules/protocol/MySQL/mysql_common.c @@ -17,12 +17,13 @@ #include -#include -#include #include +#include #include #include #include +#include +#include uint8_t null_client_sha1[MYSQL_SCRAMBLE_LEN] = ""; diff --git a/server/modules/routing/avrorouter/avro.c b/server/modules/routing/avrorouter/avro.c index 2c6125da7..bc407c43b 100644 --- a/server/modules/routing/avrorouter/avro.c +++ b/server/modules/routing/avrorouter/avro.c @@ -14,45 +14,35 @@ /** * @file avro.c - Avro router, allows MaxScale to act as an intermediary for * MySQL replication binlog files and AVRO binary files - * - * @verbatim - * Revision History - * - * Date Who Description - * 25/02/2016 Massimiliano Pinto Initial implementation - * - * @endverbatim */ #include "avrorouter.h" +#include +#include +#include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include -#include #include +#include -#include #include -#include + #include +#include +#include +#include +#include #include #include +#include +#include +#include +#include +#include +#include +#include #ifndef BINLOG_NAMEFMT #define BINLOG_NAMEFMT "%s.%06d" diff --git a/server/modules/routing/avrorouter/avro_file.c b/server/modules/routing/avrorouter/avro_file.c index bc9d923c5..4eaced894 100644 --- a/server/modules/routing/avrorouter/avro_file.c +++ b/server/modules/routing/avrorouter/avro_file.c @@ -20,27 +20,21 @@ * * Parts of this file have been copied from blr_file.c and modified for other * uses. - * - * @verbatim - * Revision History - * - * Date Who Description - * 25/02/2016 Markus Mäkelä Initial implementation - * - * @endverbatim */ #include "avrorouter.h" #include #include -#include -#include -#include +#include #include #include -#include +#include + #include +#include +#include +#include static const char *statefile_section = "avro-conversion"; static const char *ddl_list_name = "table-ddl.list"; diff --git a/server/modules/routing/binlogrouter/blr.c b/server/modules/routing/binlogrouter/blr.c index 8e808cf95..307115cef 100644 --- a/server/modules/routing/binlogrouter/blr.c +++ b/server/modules/routing/binlogrouter/blr.c @@ -22,71 +22,34 @@ * The current prototype implement is designed to support MySQL 5.6 and has * a number of limitations. This prototype is merely a proof of concept and * should not be considered production ready. - * - * @verbatim - * Revision History - * - * Date Who Description - * 02/04/2014 Mark Riddoch Initial implementation - * 17/02/2015 Massimiliano Pinto Addition of slave port and username in diagnostics - * 18/02/2015 Massimiliano Pinto Addition of dcb_close in closeSession - * 07/05/2015 Massimiliano Pinto Addition of MariaDB 10 compatibility support - * 12/06/2015 Massimiliano Pinto Addition of MariaDB 10 events in diagnostics() - * 29/06/2015 Massimiliano Pinto Addition of master.ini for easy startup configuration - * If not found router goes into BLRM_UNCONFIGURED state. - * Cache dir is 'cache' under router->binlogdir. - * 07/08/2015 Massimiliano Pinto Addition of binlog check at startup if trx_safe is on - * 21/08/2015 Massimiliano Pinto Added support for new config options: - * master_uuid, master_hostname, master_version - * If set those values are sent to slaves instead of - * saved master responses - * 23/08/2015 Massimiliano Pinto Added strerror_r - * 09/09/2015 Martin Brampton Modify error handler - * 30/09/2015 Massimiliano Pinto Addition of send_slave_heartbeat option - * 23/10/2015 Markus Makela Added current_safe_event - * 27/10/2015 Martin Brampton Amend getCapabilities to return RCAP_TYPE_NO_RSESSION - * 19/04/2016 Massimiliano Pinto UUID generation now comes from libuuid - * 05/07/2016 Massimiliano Pinto errorReply now handles error message in SHOW SLAVE STATUS - * for connection error and authentication failure. - * 11/07/2016 Massimiliano Pinto Added SSL backend support - * 22/07/2016 Massimiliano Pinto Added semi_sync replication support - * 24/08/2016 Massimiliano Pinto Added slave notification via CS_WAIT_DATA new state - * 26/08/2016 Massimiliano Pinto Addition of Start Encription Event description - * 29/08/2016 Massimiliano Pinto Addition of encrypt_binlog option - * 08/11/2016 Massimiliano Pinto Added destroyInstance() - * 24/11/2016 Massimiliano Pinto Addition of encryption options: - * encryption_algorithm and encryption_key_file - * - * @endverbatim */ #include "blr.h" + +#include +#include +#include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include -#include #include +#include #include + #include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include /* The router entry points */ static MXS_ROUTER *createInstance(SERVICE *service, char **options); diff --git a/server/modules/routing/binlogrouter/blr.h b/server/modules/routing/binlogrouter/blr.h index 3d2d7dbb9..7333d356f 100644 --- a/server/modules/routing/binlogrouter/blr.h +++ b/server/modules/routing/binlogrouter/blr.h @@ -16,48 +16,24 @@ /** * @file blr.h - The binlog router header file - * - * @verbatim - * Revision History - * - * Date Who Description - * 02/04/14 Mark Riddoch Initial implementation - * 25/05/15 Massimiliano Pinto Added BLRM_SLAVE_STOPPED state - * 05/06/15 Massimiliano Pinto Addition of m_errno, m_errmsg fields - * 08/06/15 Massimiliano Pinto Modification of MYSQL_ERROR_CODE and MYSQL_ERROR_MSG - * 11/05/15 Massimiliano Pinto Added mariadb10_compat to master and slave structs - * 12/06/15 Massimiliano Pinto Added mariadb10 new events - * 23/06/15 Massimiliano Pinto Addition of MASTER_SERVER_CFG struct - * 24/06/15 Massimiliano Pinto Added BLRM_UNCONFIGURED state - * 05/08/15 Massimiliano Pinto Initial implementation of transaction safety - * 23/10/15 Markus Makela Added current_safe_event - * 26/04/16 Massimiliano Pinto Added MariaDB 10.0 and 10.1 GTID event flags detection - * 11/07/16 Massimiliano Pinto Added SSL backend support - * 22/07/16 Massimiliano Pinto Added Semi-Sync replication support - * 24/08/16 Massimiliano Pinto Added slave notification state CS_WAIT_DATA. - * State CS_UPTODATE removed. - * 01/09/2016 Massimiliano Pinto Added support for ANNOTATE_ROWS_EVENT in COM_BINLOG_DUMP - * 16/09/2016 Massimiliano Pinto Addition of MARIADB10_START_ENCRYPTION_EVENT 0xa4 - * 19/09/2016 Massimiliano Pinto Added encrypt_binlog=0|1 option - * - * @endverbatim */ #define MXS_MODULE_NAME "binlogrouter" #include -#include #include #include +#include #include -#include #include -#include +#include #include #include +#include #include +#include MXS_BEGIN_DECLS diff --git a/server/modules/routing/binlogrouter/blr_file.c b/server/modules/routing/binlogrouter/blr_file.c index 5f3ee2dc3..0da09b31b 100644 --- a/server/modules/routing/binlogrouter/blr_file.c +++ b/server/modules/routing/binlogrouter/blr_file.c @@ -13,66 +13,33 @@ /** * @file blr_file.c - contains code for the router binlog file management - * - * - * @verbatim - * Revision History - * - * Date Who Description - * 14/04/2014 Mark Riddoch Initial implementation - * 07/05/2015 Massimiliano Pinto Added MAX_EVENT_TYPE_MARIADB10 - * 08/06/2015 Massimiliano Pinto Addition of blr_cache_read_master_data() - * 15/06/2015 Massimiliano Pinto Addition of blr_file_get_next_binlogname() - * 23/06/2015 Massimiliano Pinto Addition of blr_file_use_binlog, blr_file_create_binlog - * 29/06/2015 Massimiliano Pinto Addition of blr_file_write_master_config() - * Cache directory is now 'cache' under router->binlogdir - * 05/08/2015 Massimiliano Pinto Initial implementation of transaction safety - * 24/08/2015 Massimiliano Pinto Added strerror_r - * 26/08/2015 Massimiliano Pinto Added MariaDB 10 GTID event check with flags = 0 - * This is the current supported condition for detecting - * MariaDB 10 transaction start point. - * It's no longer using QUERY_EVENT with BEGIN - * 23/10/2015 Markus Makela Added current_safe_event - * 26/04/2016 Massimiliano Pinto Added MariaDB 10.0 and 10.1 GTID event flags detection - * 11/07/2016 Massimiliano Pinto Added SSL backend support - * 16/09/2016 Massimiliano Pinto Addition of IGNORABLE_EVENT in case of a missing event - * detected from master binlog stream - * 19/09/2016 Massimiliano Pinto START_ENCRYPTION_EVENT is detected by maxbinlocheck. - * 21/09/2016 Massimiliano Pinto Addition of START_ENCRYPTION_EVENT: new event is written - * 25/11/2016 Massimiliano Pinto Binlog files can be encrypted with specified AES key - * and AES algorithm (Only AES_CTR right now). - * Events are decrypted before being sent to slaves. - * Events larger than 16MBytes are currently not suitable - * for ecryption/decryption. - * 29/11/2016 Massimiliano Pinto Binlog files can be encrypted with AES_CBC - * - * @endverbatim */ #include "blr.h" +#include +#include +#include +#include #include #include -#include #include -#include #include -#include -#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include + #include -#include -#include +#include +#include #include +#include +#include +#include +#include +#include +#include +#include +#include /** * AES_CTR handling diff --git a/server/modules/routing/binlogrouter/blr_master.c b/server/modules/routing/binlogrouter/blr_master.c index 1e155bd36..fbd12887c 100644 --- a/server/modules/routing/binlogrouter/blr_master.c +++ b/server/modules/routing/binlogrouter/blr_master.c @@ -25,58 +25,32 @@ * The current prototype implement is designed to support MySQL 5.6 and has * a number of limitations. This prototype is merely a proof of concept and * should not be considered production ready. - * - * @verbatim - * Revision History - * - * Date Who Description - * 02/04/2014 Mark Riddoch Initial implementation - * 07/05/2015 Massimiliano Pinto Added MariaDB 10 Compatibility - * 25/05/2015 Massimiliano Pinto Added BLRM_SLAVE_STOPPED state - * 08/06/2015 Massimiliano Pinto Added m_errno and m_errmsg - * 23/06/2015 Massimiliano Pinto Master communication goes into BLRM_SLAVE_STOPPED state - * when an error is encountered in BLRM_BINLOGDUMP state. - * Server error code and msg are reported via SHOW SLAVE STATUS - * 03/08/2015 Massimiliano Pinto Initial implementation of transaction safety - * 13/08/2015 Massimiliano Pinto Addition of heartbeat check - * 23/08/2015 Massimiliano Pinto Added strerror_r - * 26/08/2015 Massimiliano Pinto Added MariaDB 10 GTID event check with flags = 0 - * This is the current supported condition for detecting - * MariaDB 10 transaction start point. - * It's no longer using QUERY_EVENT with BEGIN - * 25/09/2015 Massimiliano Pinto Addition of lastEventReceived for slaves - * 23/10/2015 Markus Makela Added current_safe_event - * 26/04/2016 Massimiliano Pinto Added MariaDB 10.0 and 10.1 GTID event flags detection - * 22/07/2016 Massimiliano Pinto Added semi_sync replication support - * 24/08/2016 Massimiliano Pinto Added slave notification and blr_distribute_binlog_record removed - * 01/09/2016 Massimiliano Pinto Added support for ANNOTATE_ROWS_EVENT in COM_BINLOG_DUMP - * 11/11/2016 Massimiliano Pinto Encryption context is freed and set to null a new binlog file - * is being created due to ROTATE event. - * - * @endverbatim */ #include "blr.h" + +#include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include +#include + #include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include static GWBUF *blr_make_query(DCB *dcb, char *query); static GWBUF *blr_make_registration(ROUTER_INSTANCE *router); diff --git a/server/modules/routing/readwritesplit/readwritesplit.cc b/server/modules/routing/readwritesplit/readwritesplit.cc index 5c0614843..feabeeb08 100644 --- a/server/modules/routing/readwritesplit/readwritesplit.cc +++ b/server/modules/routing/readwritesplit/readwritesplit.cc @@ -14,22 +14,22 @@ #include "readwritesplit.hh" #include -#include -#include -#include -#include #include +#include +#include +#include +#include +#include #include - -#include -#include -#include +#include #include -#include +#include #include #include -#include +#include +#include +#include #include "rwsplit_internal.hh" #include "rwsplitsession.hh" diff --git a/server/modules/routing/readwritesplit/rwsplit_route_stmt.cc b/server/modules/routing/readwritesplit/rwsplit_route_stmt.cc index c6e9e66ed..a4ddeaaf5 100644 --- a/server/modules/routing/readwritesplit/rwsplit_route_stmt.cc +++ b/server/modules/routing/readwritesplit/rwsplit_route_stmt.cc @@ -14,14 +14,15 @@ #include "readwritesplit.hh" #include "rwsplit_internal.hh" -#include -#include -#include #include +#include +#include +#include #include -#include +#include #include +#include /** * The functions that support the routing of queries to back end diff --git a/server/modules/routing/schemarouter/schemaroutersession.cc b/server/modules/routing/schemarouter/schemaroutersession.cc index e9c2f5993..51362a15c 100644 --- a/server/modules/routing/schemarouter/schemaroutersession.cc +++ b/server/modules/routing/schemarouter/schemaroutersession.cc @@ -18,8 +18,9 @@ #include #include -#include #include +#include +#include namespace schemarouter {