mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03: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:
@@ -769,12 +769,12 @@ void push_warning_printf(THD *thd, Sql_condition::enum_warning_level level,
|
||||
TRUE Error sending data to client
|
||||
*/
|
||||
|
||||
const LEX_STRING warning_level_names[]=
|
||||
const LEX_CSTRING warning_level_names[]=
|
||||
{
|
||||
{ C_STRING_WITH_LEN("Note") },
|
||||
{ C_STRING_WITH_LEN("Warning") },
|
||||
{ C_STRING_WITH_LEN("Error") },
|
||||
{ C_STRING_WITH_LEN("?") }
|
||||
{ STRING_WITH_LEN("Note") },
|
||||
{ STRING_WITH_LEN("Warning") },
|
||||
{ STRING_WITH_LEN("Error") },
|
||||
{ STRING_WITH_LEN("?") }
|
||||
};
|
||||
|
||||
bool mysqld_show_warnings(THD *thd, ulong levels_to_show)
|
||||
|
Reference in New Issue
Block a user