Skip to content

Commit 91fe15b

Browse files
author
kostja@bodhi.(none)
committed
Fix doxygen warnings.
1 parent 9bf39c6 commit 91fe15b

24 files changed

+247
-232
lines changed

client/mysqldump.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1308,8 +1308,8 @@ static char *cover_definer_clause_in_trigger(const char *trigger_def_str,
13081308
13091309
@note This function will go away when WL#3995 is implemented.
13101310
1311-
@param[in] def_str CREATE FUNCTION|PROCEDURE statement string.
1312-
@param[in] def_length length of the def_str.
1311+
@param[in] def_str CREATE FUNCTION|PROCEDURE statement string.
1312+
@param[in] def_str_length length of the def_str.
13131313
13141314
@return pointer to the new allocated query string.
13151315
*/

mysys/test_charset.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ int main(int argc, char **argv) {
7777
_print_csinfo(cs);
7878
fflush(stdout);
7979

80-
#define NOT_USED_ANYMORE
80+
#ifdef NOT_USED_ANYMORE
8181
cs_list = list_charsets(MYF(MY_CS_COMPILED | MY_CS_CONFIG));
8282
printf("LIST OF CHARSETS (compiled + *.conf):\n%s\n", cs_list);
8383
my_free(cs_list,MYF(0));

sql/event_db_repository.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ Event_db_repository::open_event_table(THD *thd, enum thr_lock_type lock_type,
556556
only creates a record on disk.
557557
@pre The thread handle has no open tables.
558558
559-
@param[in,out] THD
559+
@param[in,out] thd THD
560560
@param[in] parse_data Parsed event definition
561561
@param[in] create_if_not TRUE if IF NOT EXISTS clause was provided
562562
to CREATE EVENT statement
@@ -657,7 +657,7 @@ Event_db_repository::create_event(THD *thd, Event_parse_data *parse_data,
657657
658658
@param[in,out] thd thread handle
659659
@param[in] parse_data parsed event definition
660-
@paran[in[ new_dbname not NULL if ALTER EVENT RENAME
660+
@param[in] new_dbname not NULL if ALTER EVENT RENAME
661661
points at a new database name
662662
@param[in] new_name not NULL if ALTER EVENT RENAME
663663
points at a new event name
@@ -812,7 +812,7 @@ Event_db_repository::drop_event(THD *thd, LEX_STRING db, LEX_STRING name,
812812
813813
814814
@retval FALSE an event with such db/name key exists
815-
@reval TRUE no record found or an error occured.
815+
@retval TRUE no record found or an error occured.
816816
*/
817817

818818
bool

sql/events.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,7 @@ Events::show_create_event(THD *thd, LEX_STRING dbname, LEX_STRING name)
790790
Check access rights and fill INFORMATION_SCHEMA.events table.
791791
792792
@param[in,out] thd Thread context
793-
@param[in] table The temporary table to fill.
794-
cond Unused
793+
@param[in] tables The temporary table to fill.
795794
796795
In MySQL INFORMATION_SCHEMA tables are temporary tables that are
797796
created and filled on demand. In this function, we fill

sql/events.h

+7-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
along with this program; if not, write to the Free Software
1616
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
1717

18-
/*
18+
/**
1919
@file
2020
A public interface of Events Scheduler module.
21+
@defgroup Event Scheduler
22+
@{
2123
*/
2224

2325
class Event_parse_data;
@@ -42,7 +44,7 @@ int
4244
sortcmp_lex_string(LEX_STRING s, LEX_STRING t, CHARSET_INFO *cs);
4345

4446
/**
45-
@class Events -- a facade to the functionality of the Event Scheduler.
47+
@brief A facade to the functionality of the Event Scheduler.
4648
4749
Every public operation against the scheduler has to be executed via the
4850
interface provided by a static method of this class. No instance of this
@@ -152,5 +154,8 @@ class Events
152154
void operator=(Events &);
153155
};
154156

157+
/**
158+
@} (end of group Event Scheduler)
159+
*/
155160

156161
#endif /* _EVENT_H_ */

0 commit comments

Comments
 (0)