summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorkostja@bodhi.(none) <>2007-08-16 19:52:55 +0400
committerkostja@bodhi.(none) <>2007-08-16 19:52:55 +0400
commitb2716c0dadfba1c901b88ce20cfc6be393765d8a (patch)
tree0ca73bf5cd80f4cfd898394ea13014f0620361c2 /sql
parent97adcb6054e3922dcc98a4d5a6f8c928f1f1f6e7 (diff)
downloadmariadb-git-b2716c0dadfba1c901b88ce20cfc6be393765d8a.tar.gz
Doxygen warnings.
Diffstat (limited to 'sql')
-rw-r--r--sql/field.cc2
-rw-r--r--sql/log_event.h2
-rw-r--r--sql/rpl_record.cc1
-rw-r--r--sql/sql_lex.cc6
-rw-r--r--sql/sql_lex.h4
5 files changed, 8 insertions, 7 deletions
diff --git a/sql/field.cc b/sql/field.cc
index acaf1576a8f..7ae8916de71 100644
--- a/sql/field.cc
+++ b/sql/field.cc
@@ -7644,7 +7644,7 @@ uchar *Field_blob::pack(uchar *to, const uchar *from, uint max_length)
@param to Destination of the data
@param from Source of the data
- @param param_data <not used>
+ @param param_data not used
@return New pointer into memory based on from + length of the data
*/
diff --git a/sql/log_event.h b/sql/log_event.h
index e22a9785736..9db1d117ff6 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 OPTIONS_WRITTEN_TO_BIN_LOG must NOT change their values!
+#error 1
#endif
#undef EXPECTED_OPTIONS /* You shouldn't use this one */
diff --git a/sql/rpl_record.cc b/sql/rpl_record.cc
index 36dcedb3b88..1b6b3adb52b 100644
--- a/sql/rpl_record.cc
+++ b/sql/rpl_record.cc
@@ -177,6 +177,7 @@ pack_row(TABLE *table, MY_BITMAP const* cols,
record on the master side
@param rw_set Pointer to bitmap that holds either the read_set or the
write_set of the table
+ @param event_type
@retval 0 No error
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 8d13e3c7554..78b4f034f98 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -1750,7 +1750,7 @@ void st_select_lex_unit::exclude_tree()
'last' should be reachable from this st_select_lex_node
*/
-void st_select_lex::mark_as_dependent(SELECT_LEX *last)
+void st_select_lex::mark_as_dependent(st_select_lex *last)
{
/*
Mark all selects from resolved to 1 before select where was
@@ -2368,7 +2368,7 @@ st_lex::copy_db_to(char **p_db, size_t *p_db_length) const
values - SELECT_LEX with initial values for counters
*/
-void st_select_lex_unit::set_limit(SELECT_LEX *sl)
+void st_select_lex_unit::set_limit(st_select_lex *sl)
{
ha_rows select_limit_val;
@@ -2898,7 +2898,7 @@ bool st_select_lex::add_index_hint (THD *thd, char *str, uint length)
partitioning or if only partitions to add or to split.
@note This needs to be outside of WITH_PARTITION_STORAGE_ENGINE since it
- is used from the sql parser that doesn't have any #ifdef's
+ is used from the sql parser that doesn't have any ifdef's
@retval TRUE Yes, it is part of a management partition command
@retval FALSE No, not a management partition command
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 22c7eb2ffb1..2e72a87c35d 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -1512,9 +1512,9 @@ typedef struct st_lex : public Query_tables_list
/** End of SELECT of CREATE VIEW statement */
const char* create_view_select_end;
- /** Start of 'ON <table>', in trigger statements. */
+ /** Start of 'ON table', in trigger statements. */
const char* raw_trg_on_table_name_begin;
- /** End of 'ON <table>', in trigger statements. */
+ /** End of 'ON table', in trigger statements. */
const char* raw_trg_on_table_name_end;
/* Partition info structure filled in by PARTITION BY parse part */