summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-07-04 23:06:19 +0300
committermonty@narttu.mysql.fi <>2003-07-04 23:06:19 +0300
commita3fe7c0959c6135383409a935d7105812bcaca83 (patch)
tree1da176a8e662fa899ecece2c7c7d6f9ee6e5dbc7 /sql/log_event.h
parent22bce83c1ba7b6860115327a46a6424345515f21 (diff)
downloadmariadb-git-a3fe7c0959c6135383409a935d7105812bcaca83.tar.gz
Remove compiler warnings
Simple cleanup of previous pull
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 0a807bd524d..155da07bebd 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -406,10 +406,15 @@ public:
/* fname doesn't point to memory inside Log_event::temp_buf */
void set_fname_outside_temp_buf(const char *afname, uint alen)
- {fname=afname;fname_len=alen;}
+ {
+ fname= afname;
+ fname_len= alen;
+ }
/* fname doesn't point to memory inside Log_event::temp_buf */
int check_fname_outside_temp_buf()
- {return fname<temp_buf || fname>temp_buf+cached_event_len;}
+ {
+ return fname < temp_buf || fname > temp_buf+ cached_event_len;
+ }
#ifndef MYSQL_CLIENT
String field_lens_buf;