summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-08-31 16:23:01 +0200
committerSergei Golubchik <serg@mariadb.org>2015-09-04 10:33:52 +0200
commit7b54dec1c68ee70a8b0a56b6fb9bc3aa27256438 (patch)
treee6b5230c8fbd507fbeafaed5ac37a803b0e125c1 /sql/log_event.h
parent89e08bf300545f9fec5c3dcd700507293a2dab13 (diff)
downloadmariadb-git-7b54dec1c68ee70a8b0a56b6fb9bc3aa27256438.tar.gz
cleanup: comments
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 76108fcce0b..4866eb5f83b 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -1239,10 +1239,12 @@ public:
write_data_body(file) ||
write_footer(file));
}
- virtual bool write_data_header(IO_CACHE* file)
+ virtual bool write_data_header(IO_CACHE* file __attribute__((unused)))
{ return 0; }
virtual bool write_data_body(IO_CACHE* file __attribute__((unused)))
{ return 0; }
+
+ /* Return start of query time or current time */
inline my_time_t get_time()
{
THD *tmp_thd;
@@ -1321,8 +1323,6 @@ public:
*/
const char* get_type_str();
- /* Return start of query time or current time */
-
#if defined(MYSQL_SERVER) && defined(HAVE_REPLICATION)
public: