mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -185,7 +185,8 @@ int injector::record_incident(THD *thd, Incident incident)
|
||||
return mysql_bin_log.rotate_and_purge(true);
|
||||
}
|
||||
|
||||
int injector::record_incident(THD *thd, Incident incident, LEX_STRING const message)
|
||||
int injector::record_incident(THD *thd, Incident incident,
|
||||
const LEX_CSTRING *message)
|
||||
{
|
||||
Incident_log_event ev(thd, incident, message);
|
||||
if (int error= mysql_bin_log.write(&ev))
|
||||
|
Reference in New Issue
Block a user