Change C_STRING_WITH_LEN to STRING_WITH_LEN

This preserves const str for constant strings

Other things
- A few variables where changed from LEX_STRING to LEX_CSTRING
- Incident_log_event::Incident_log_event and record_incident where
  changed to take LEX_CSTRING* as an argument instead of LEX_STRING
This commit is contained in:
Monty 2018-01-08 15:33:23 +02:00
commit f55dc7f733
38 changed files with 764 additions and 779 deletions

View file

@ -49,11 +49,11 @@ Event_db_repository *Event_worker_thread::db_repository;
static
const LEX_STRING scheduler_states_names[] =
const LEX_CSTRING scheduler_states_names[] =
{
{ C_STRING_WITH_LEN("INITIALIZED") },
{ C_STRING_WITH_LEN("RUNNING") },
{ C_STRING_WITH_LEN("STOPPING") }
{ STRING_WITH_LEN("INITIALIZED") },
{ STRING_WITH_LEN("RUNNING") },
{ STRING_WITH_LEN("STOPPING") }
};
struct scheduler_param {