diff options
author | unknown <monty@narttu.mysql.fi> | 2003-07-04 23:06:19 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-07-04 23:06:19 +0300 |
commit | 4e61b75d8b43a38f3cdf667780e000202137e4d9 (patch) | |
tree | 1da176a8e662fa899ecece2c7c7d6f9ee6e5dbc7 /sql/log_event.h | |
parent | 4e4ab26f53bada8aaebbe7650a08f3e9ecf15107 (diff) | |
download | mariadb-git-4e61b75d8b43a38f3cdf667780e000202137e4d9.tar.gz |
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
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 9 |
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; |