summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2007-08-16 21:14:47 +0400
committerunknown <kostja@bodhi.(none)>2007-08-16 21:14:47 +0400
commit81e54a4f3dfea157fe6d20643190abe2819d9241 (patch)
tree784e65ce672c63d620f268673150f70e35d5e47e /sql
parent68977b8cb0acb719195e1f730e3ca7d18f07d0c3 (diff)
downloadmariadb-git-81e54a4f3dfea157fe6d20643190abe2819d9241.tar.gz
Fix doxygen warnings.
sql/field.h: Fix doxygen warnings - too complex return value type, it choked on it. sql/field_conv.cc: Fix doxygen warnings - too complex return value type, it choked on it.
Diffstat (limited to 'sql')
-rw-r--r--sql/field.h7
-rw-r--r--sql/field_conv.cc3
-rw-r--r--sql/log_event.h4
3 files changed, 10 insertions, 4 deletions
diff --git a/sql/field.h b/sql/field.h
index 60f6fc19d76..4ef4898cdb5 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -1732,7 +1732,12 @@ class Send_field {
*/
class Copy_field :public Sql_alloc {
- void (*get_copy_func(Field *to,Field *from))(Copy_field *);
+ /**
+ Convenience definition of a copy function returned by
+ get_copy_func.
+ */
+ typedef void Copy_func(Copy_field*);
+ Copy_func *get_copy_func(Field *to, Field *from);
public:
uchar *from_ptr,*to_ptr;
uchar *from_null_ptr,*to_null_ptr;
diff --git a/sql/field_conv.cc b/sql/field_conv.cc
index 33c7897c3db..16e27bb6cab 100644
--- a/sql/field_conv.cc
+++ b/sql/field_conv.cc
@@ -620,7 +620,8 @@ void Copy_field::set(Field *to,Field *from,bool save)
}
-void (*Copy_field::get_copy_func(Field *to,Field *from))(Copy_field*)
+Copy_field::Copy_func *
+Copy_field::get_copy_func(Field *to,Field *from)
{
bool compatible_db_low_byte_first= (to->table->s->db_low_byte_first ==
from->table->s->db_low_byte_first);
diff --git a/sql/log_event.h b/sql/log_event.h
index 9db1d117ff6..203961c628e 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -435,7 +435,7 @@ struct sql_ex_info
((ULL(1) << 14) | (ULL(1) << 26) | (ULL(1) << 27) | (ULL(1) << 19))
#if OPTIONS_WRITTEN_TO_BIN_LOG != EXPECTED_OPTIONS
-#error 1
+#error
#endif
#undef EXPECTED_OPTIONS /* You shouldn't use this one */
@@ -2549,7 +2549,7 @@ protected:
<caption>Incident event format</caption>
<tr>
<th>Symbol</th>
- <th>Size<br/>(bytes)</th>
+ <th>Size<br>(bytes)</th>
<th>Description</th>
</tr>
<tr>