mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
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:
parent
18e22cb69f
commit
f55dc7f733
38 changed files with 764 additions and 779 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue