diff options
author | Andrei Elkin <andrei.elkin@mariadb.com> | 2017-11-27 13:00:08 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-12-18 13:43:38 +0200 |
commit | 6a84e3407df448b28230602ca4e748c85bce52bc (patch) | |
tree | 64ca5eca5936ff88713399a9a70436ea78516050 /sql/semisync.h | |
parent | c0ea3056b64779c798f90d3ba9a4f8d37eb14665 (diff) | |
download | mariadb-git-6a84e3407df448b28230602ca4e748c85bce52bc.tar.gz |
MDEV-13073. This patch replaces semisync's native function_enter,exit
and its custom trace faciltiy with standard DBUG_ based equivalents.
Diffstat (limited to 'sql/semisync.h')
-rw-r--r-- | sql/semisync.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sql/semisync.h b/sql/semisync.h index cf791b36c1b..b2769591df4 100644 --- a/sql/semisync.h +++ b/sql/semisync.h @@ -35,32 +35,6 @@ public: unsigned long trace_level_; /* the level for tracing */ - inline void function_enter(const char *func_name) - { - if (trace_level_ & kTraceFunction) - sql_print_information("---> %s enter", func_name); - } - inline int function_exit(const char *func_name, int exit_code) - { - if (trace_level_ & kTraceFunction) - sql_print_information("<--- %s exit (%d)", func_name, exit_code); - return exit_code; - } - - inline bool function_exit(const char *func_name, bool exit_code) - { - if (trace_level_ & kTraceFunction) - sql_print_information("<--- %s exit (%s)", func_name, - exit_code ? "True" : "False"); - return exit_code; - } - - inline void function_exit(const char *func_name) - { - if (trace_level_ & kTraceFunction) - sql_print_information("<--- %s exit", func_name); - } - Trace() :trace_level_(0L) {} |