@@ -142,7 +142,7 @@ const TABLE_FIELD_W_TYPE event_table_fields[ET_FIELD_COUNT] =
142142 EVEX_GENERAL_ERROR Bad data
143143 EVEX_GET_FIELD_FAILED Field count does not match. table corrupted?
144144
145- DESCRIPTION
145+ DESCRIPTION
146146 Used both when an event is created and when it is altered.
147147*/
148148
@@ -178,7 +178,7 @@ mysql_event_fill_row(THD *thd, TABLE *table, Event_parse_data *et,
178178 /*
179179 Change the SQL_MODE only if body was present in an ALTER EVENT and of course
180180 always during CREATE EVENT.
181- */
181+ */
182182 if (et->body .str )
183183 {
184184 fields[ET_FIELD_SQL_MODE]->store ((longlong)thd->variables .sql_mode , TRUE );
@@ -237,7 +237,7 @@ mysql_event_fill_row(THD *thd, TABLE *table, Event_parse_data *et,
237237 fields[ET_FIELD_TRANSIENT_INTERVAL]->set_null ();
238238 fields[ET_FIELD_STARTS]->set_null ();
239239 fields[ET_FIELD_ENDS]->set_null ();
240-
240+
241241 TIME time;
242242 my_tz_UTC->gmt_sec_to_TIME (&time, et->execute_at );
243243
@@ -253,7 +253,7 @@ mysql_event_fill_row(THD *thd, TABLE *table, Event_parse_data *et,
253253 this is an error if the action is create. something is borked
254254 */
255255 }
256-
256+
257257 ((Field_timestamp *)fields[ET_FIELD_MODIFIED])->set_time ();
258258
259259 if (et->comment .str )
@@ -323,12 +323,12 @@ Event_db_repository::index_read_for_db_for_i_s(THD *thd, TABLE *schema_table,
323323 ret= copy_event_to_schema_table (thd, schema_table, event_table);
324324 if (ret == 0 )
325325 ret= event_table->file ->index_next_same (event_table->record [0 ],
326- key_buf, key_len);
326+ key_buf, key_len);
327327 } while (ret == 0 );
328328 }
329329 DBUG_PRINT (" info" , (" Scan finished. ret=%d" , ret));
330330 }
331- event_table->file ->ha_index_end ();
331+ event_table->file ->ha_index_end ();
332332 /* ret is guaranteed to be != 0 */
333333 if (ret == HA_ERR_END_OF_FILE || ret == HA_ERR_KEY_NOT_FOUND)
334334 DBUG_RETURN (FALSE );
@@ -489,7 +489,7 @@ Event_db_repository::open_event_table(THD *thd, enum thr_lock_type lock_type,
489489 check_parse_params()
490490 thd Thread context
491491 parse_data Event's data
492-
492+
493493 RETURN VALUE
494494 FALSE OK
495495 TRUE Error (reported)
@@ -535,7 +535,7 @@ check_parse_params(THD *thd, Event_parse_data *parse_data)
535535 0 OK
536536 EVEX_GENERAL_ERROR Failure
537537
538- DESCRIPTION
538+ DESCRIPTION
539539 Creates an event. Relies on mysql_event_fill_row which is shared with
540540 ::update_event. The name of the event is inside "et".
541541*/
@@ -630,7 +630,7 @@ Event_db_repository::create_event(THD *thd, Event_parse_data *parse_data,
630630 handle it here
631631 */
632632 if ((ret= mysql_event_fill_row (thd, table, parse_data, FALSE )))
633- goto err;
633+ goto err;
634634
635635 /* Close active transaction only if We are going to modify disk */
636636 if (end_active_trans (thd))
@@ -647,7 +647,7 @@ Event_db_repository::create_event(THD *thd, Event_parse_data *parse_data,
647647 (void ) mysql_change_db (thd, old_db.str , 1 );
648648 /*
649649 This statement may cause a spooky valgrind warning at startup
650- inside init_key_cache on my system (ahristov, 2006/08/10)
650+ inside init_key_cache on my system (ahristov, 2006/08/10)
651651 */
652652 close_thread_tables (thd);
653653 DBUG_RETURN (FALSE );
@@ -914,14 +914,14 @@ Event_db_repository::drop_schema_events(THD *thd, LEX_STRING schema)
914914*/
915915
916916void
917- Event_db_repository::drop_events_by_field (THD *thd,
917+ Event_db_repository::drop_events_by_field (THD *thd,
918918 enum enum_events_table_field field,
919919 LEX_STRING field_value)
920920{
921921 int ret= 0 ;
922922 TABLE *table= NULL ;
923923 READ_RECORD read_record_info;
924- DBUG_ENTER (" Event_db_repository::drop_events_by_field" );
924+ DBUG_ENTER (" Event_db_repository::drop_events_by_field" );
925925 DBUG_PRINT (" enter" , (" field=%d field_value=%s" , field, field_value.str ));
926926
927927 if (open_event_table (thd, TL_WRITE, &table))
0 commit comments