summaryrefslogtreecommitdiff
path: root/sql/semisync.h
diff options
context:
space:
mode:
authorAndrei Elkin <andrei.elkin@mariadb.com>2017-11-25 18:54:42 +0200
committerMonty <monty@mariadb.org>2017-12-18 13:43:38 +0200
commitf279d3c43aa7536b0f9bf46df8f4a3ef02918be0 (patch)
tree8b030839b7b1017a8caf948a5991bd610e0e1c6b /sql/semisync.h
parent6a84e3407df448b28230602ca4e748c85bce52bc (diff)
downloadmariadb-git-f279d3c43aa7536b0f9bf46df8f4a3ef02918be0.tar.gz
MDEV-13073. This part converts the Ali patch`s identifiers to the MariaDB standard. Also some renaming is done as well as white spaces removal.
Diffstat (limited to 'sql/semisync.h')
-rw-r--r--sql/semisync.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sql/semisync.h b/sql/semisync.h
index b2769591df4..bf43ba5c8d8 100644
--- a/sql/semisync.h
+++ b/sql/semisync.h
@@ -28,10 +28,10 @@
*/
class Trace {
public:
- static const unsigned long kTraceFunction;
- static const unsigned long kTraceGeneral;
- static const unsigned long kTraceDetail;
- static const unsigned long kTraceNetWait;
+ static const unsigned long k_trace_function;
+ static const unsigned long k_trace_general;
+ static const unsigned long k_trace_detail;
+ static const unsigned long k_trace_net_wait;
unsigned long trace_level_; /* the level for tracing */
@@ -46,14 +46,14 @@ public:
/**
Base class for semi-sync master and slave classes
*/
-class ReplSemiSyncBase
+class Repl_semi_sync_base
:public Trace {
public:
- static const unsigned char kSyncHeader[2]; /* three byte packet header */
+ static const unsigned char k_sync_header[2]; /* three byte packet header */
/* Constants in network packet header. */
- static const unsigned char kPacketMagicNum;
- static const unsigned char kPacketFlagSync;
+ static const unsigned char k_packet_magic_num;
+ static const unsigned char k_packet_flag_sync;
};
/* The layout of a semisync slave reply packet: