Skip to content

Commit ff1d386

Browse files
Merge branch 'mysql-5.6' into mysql-5.7
2 parents b415a05 + 0417eb2 commit ff1d386

File tree

4 files changed

+54
-54
lines changed

4 files changed

+54
-54
lines changed

plugin/connection_control/connection_control.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ MYSQL_PLUGIN connection_control_plugin_info= 0;
6262
For connection event, notify Connection_event_coordinator
6363
which in turn will notify subscribers.
6464
65-
@param thd [in] Handle to THD
66-
@param event_class [in] Event class.
65+
@param [in] thd Handle to THD
66+
@param [in] event_class Event class.
6767
We are interested in MYSQL_AUDIT_CONNECTION_CLASS.
68-
@param event [in] mysql_event_connection handle
68+
@param [in] event mysql_event_connection handle
6969
*/
7070

7171
static int
@@ -98,7 +98,7 @@ connection_control_notify(MYSQL_THD thd,
9898
/**
9999
Plugin initialization function
100100
101-
@param plugin_info [in] MYSQL_PLUGIN information
101+
@param [in] plugin_info MYSQL_PLUGIN information
102102
103103
@returns initialization status
104104
@retval 0 Success

plugin/connection_control/connection_control_coordinator.cc

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ namespace connection_control
4242
2. Set of variables for which subscriber would like to receive update
4343
3. Set of stats for which subscriber would like to send update
4444
45-
@param subscriber [in] Handle to Connection_event_observers
46-
@param events [in] Event mask supplied by subscriber
47-
@param sys_vars [in] opt_connection_control vector
48-
@param status_vars [in] stats_connection_control vector
45+
@param [in] subscriber Handle to Connection_event_observers
46+
@param [in] events Event mask supplied by subscriber
47+
@param [in] sys_vars opt_connection_control vector
48+
@param [in] status_vars stats_connection_control vector
4949
5050
@returns subscription status
5151
@retval false Subscription successful
@@ -160,9 +160,9 @@ namespace connection_control
160160
161161
Note : If we receive error from a subscriber, we log it and move on.
162162
163-
@param thd [in] THD handle
164-
@param error_handler [in] Error handler class
165-
@param connection_event [in] Event information
163+
@param [in] thd THD handle
164+
@param [in] error_handler Error handler class
165+
@param [in] connection_event Event information
166166
*/
167167

168168
void
@@ -197,9 +197,9 @@ namespace connection_control
197197
198198
Note : If we receive error from a subscriber, we log it and move on.
199199
200-
@param error_hanlder [in] Error handler class
201-
@param opt_connection_control Variable information
202-
@param new_value [in] New value for variable
200+
@param [in] error_hanlder Error handler class
201+
@param [in] opt_connection_control Variable information
202+
@param [in] new_value New value for variable
203203
*/
204204

205205
void
@@ -230,9 +230,9 @@ namespace connection_control
230230
/**
231231
Update a status variable
232232
233-
@param observer [in] Requestor
234-
@param status_var [in] Status variable to be updated
235-
@param action [in] Operation to be performed on status variable
233+
@param [in] observer Requestor
234+
@param [in] status_var Status variable to be updated
235+
@param [in] action Operation to be performed on status variable
236236
237237
@returns status of the operation
238238
@retval false Success

plugin/connection_control/connection_delay.cc

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ namespace connection_control
9494
/**
9595
Helper function for Connection_delay_event::reset_all
9696
97-
@param ptr [in] Pointer to an entry in hash
97+
@param [in] ptr Pointer to an entry in hash
9898
9999
@returns 1 to indicate that entry is a match
100100
*/
@@ -113,8 +113,8 @@ namespace connection_control
113113
fed to an internal calc_hash() which use the defined charset to
114114
calculate a hash from the key buffer (in most cases a murmur)
115115
116-
@param el [in] Pointer to an element in the hash
117-
@param length [out] The length of the key belonging to the element
116+
@param [in] el Pointer to an element in the hash
117+
@param [out] length The length of the key belonging to the element
118118
119119
@returns Pointer to key buffer
120120
*/
@@ -150,7 +150,7 @@ namespace connection_control
150150
/**
151151
Creates or updates an entry in hash
152152
153-
@param s [in] User information in '<user'@'<host>' format
153+
@param [in] s User information in '<user'@'<host>' format
154154
155155
@returns status of insertion/update
156156
@retval false Insertion/Update successful
@@ -214,7 +214,7 @@ namespace connection_control
214214
/**
215215
Resets count stored against given user entry
216216
217-
@param s [in] User information in '<user'@'<host>' format
217+
@param [in] s User information in '<user'@'<host>' format
218218
219219
@returns status of reset operation
220220
@retval false Reset successful
@@ -260,7 +260,7 @@ namespace connection_control
260260
/**
261261
Retrieve stored value for given user entry
262262
263-
@param s [in] User information in '<user'@'<host>' format
263+
@param [in] s User information in '<user'@'<host>' format
264264
@param value [out] Buffer to hold value stored against given user
265265
266266
@returns whether given entry is present in hash or not
@@ -350,7 +350,7 @@ namespace connection_control
350350
/**
351351
Function to populate information_schema view.
352352
353-
@param ptr [in] Entry from LF hash
353+
@param [in] ptr Entry from LF hash
354354
355355
@returns status of row insertion
356356
@retval 0 Success
@@ -379,8 +379,8 @@ namespace connection_control
379379
/**
380380
Function to dump LF hash data to IS table.
381381
382-
@param thd [in] THD handle
383-
@param tables [in] Handle to
382+
@param [in] thd THD handle
383+
@param [in] tables Handle to
384384
information_schema.connection_control_failed_attempts
385385
*/
386386

@@ -457,8 +457,8 @@ namespace connection_control
457457
2. Use priv_user/priv_host if either of them is not empty. Else,
458458
3. Use user/host
459459
460-
@param thd [in] THD pointer for getting security context
461-
@param s [out] Hash key is stored here
460+
@param [in] thd THD pointer for getting security context
461+
@param [out] s Hash key is stored here
462462
*/
463463

464464
void
@@ -518,8 +518,8 @@ namespace connection_control
518518
/**
519519
Wait till the wait_time expires or thread is killed
520520
521-
@param thd [in] Handle to MYSQL_THD object
522-
@param wait_time [in] Maximum time to wait
521+
@param [in] thd Handle to MYSQL_THD object
522+
@param [in] wait_time Maximum time to wait
523523
*/
524524

525525
void
@@ -596,10 +596,10 @@ namespace connection_control
596596
597597
We only care about CONNECT and CHANGE_USER sub events.
598598
599-
@param thd [in] THD pointer
600-
@param coordinator [in] Connection_event_coordinator
601-
@param connection_event [in] Connection event to be handled
602-
@param error_handler [in] Error handler object
599+
@param [in] thd THD pointer
600+
@param [in] coordinator Connection_event_coordinator
601+
@param [in] connection_event Connection event to be handled
602+
@param [in] error_handler Error handler object
603603
604604
@returns status of connection event handling
605605
@retval false Successfully handled an event.
@@ -712,11 +712,11 @@ namespace connection_control
712712
/**
713713
Notification of a change in system variable value
714714
715-
@param coordinator [in] Handle to coordinator
716-
@param variable [in] Enum of variable
717-
@param new_value [in] New value for variable
718-
@param error_buffer [out] Buffer to log error message if any
719-
@param error_buffer_size [in] Size of error buffer
715+
@param [in] coordinator Handle to coordinator
716+
@param [in] variable Enum of variable
717+
@param [in] new_value New value for variable
718+
@param [out] error_buffer Buffer to log error message if any
719+
@param [in] error_buffer_size Size of error buffer
720720
721721
@returns processing status
722722
@retval false Change in variable value processed successfully
@@ -780,7 +780,7 @@ namespace connection_control
780780
/**
781781
Subscribe with coordinator for connection events
782782
783-
@param coordinator [in] Handle to Connection_event_coordinator_services
783+
@param [in] coordinator Handle to Connection_event_coordinator_services
784784
for registration
785785
*/
786786
void
@@ -822,9 +822,9 @@ namespace connection_control
822822
/**
823823
Get user information from "where userhost = <value>"
824824
825-
@param cond [in] Equality condition structure
826-
@param eq_arg [out] Sql_string handle to store user information
827-
@param field_name [in] userhost field
825+
@param [in] cond Equality condition structure
826+
@param [out] eq_arg Sql_string handle to store user information
827+
@param [in] field_name userhost field
828828
829829
@returns whether a value was found or not
830830
@retval false Found a value. Check eq_arg
@@ -870,10 +870,10 @@ namespace connection_control
870870
871871
Permission : SUPER_ACL is required.
872872
873-
@param thd [in] THD handle.
874-
@param tables [in] Handle to
873+
@param [in] thd THD handle.
874+
@param [in] tables Handle to
875875
information_schema.connection_control_failed_attempts.
876-
@param cond [in] Condition if any.
876+
@param [in] cond Condition if any.
877877
*/
878878

879879
void
@@ -918,7 +918,7 @@ namespace connection_control
918918
/**
919919
Initializes required objects for handling connection events.
920920
921-
@param coordinator [in] Connection_event_coordinator_services handle.
921+
@param [in] coordinator Connection_event_coordinator_services handle.
922922
*/
923923

924924
bool init_connection_delay_event(Connection_event_coordinator_services *coordinator,
@@ -967,10 +967,10 @@ namespace connection_control
967967
/**
968968
Function to fill information_schema.connection_control_failed_attempts.
969969
970-
@param thd [in] THD handle.
971-
@param tables [in] Handle to
970+
@param [in] thd THD handle.
971+
@param [in] tables Handle to
972972
information_schema.connection_control_failed_attempts.
973-
@param cond [in] Condition if any.
973+
@param [in] cond Condition if any.
974974
975975
@returns Always returns FALSE.
976976
*/
@@ -988,7 +988,7 @@ int fill_failed_attempts_view(THD *thd,
988988
/**
989989
View init function
990990
991-
@param ptr [in] Handle to
991+
@param [in] ptr Handle to
992992
information_schema.connection_control_failed_attempts.
993993
994994
@returns Always returns 0.

plugin/connection_control/security_context_wrapper.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace connection_control
2626
/**
2727
Security_context_wrapper constructor.
2828
29-
@param thd [in] Handle to THD
29+
@param [in] thd Handle to THD
3030
3131
Get security context from thd.
3232
*/
@@ -39,8 +39,8 @@ namespace connection_control
3939
/**
4040
Get value for given property from security context
4141
42-
@param property [in] Property to be checked
43-
@param value [out] Value of the property
42+
@param [in] property Property to be checked
43+
@param [out] value Value of the property
4444
4545
@returns status of property check
4646
@retval true Error fetching property value

0 commit comments

Comments
 (0)