From 4e61b75d8b43a38f3cdf667780e000202137e4d9 Mon Sep 17 00:00:00 2001 From: unknown <monty@narttu.mysql.fi> Date: Fri, 4 Jul 2003 23:06:19 +0300 Subject: Remove compiler warnings Simple cleanup of previous pull sql/item_strfunc.cc: Removed compiler warning sql/sql_cache.cc: Indentation fix sql/sql_handler.cc: Simple ptimization sql/sql_parse.cc: Removed compiler warning sql/log_event.h: Indentation fix --- sql/log_event.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sql/log_event.h') 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; -- cgit v1.2.1