mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 19:55:32 +02:00
Merge with MySQL 5.1.55
- Fixed some issues with partitions and connection_string, which also fixed lp:716890 "Pre- and post-recovery crash in Aria" - Fixed wrong assert in Aria Now need to merge with latest xtradb before pushing sql/ha_partition.cc: Ensure that m_ordered_rec_buffer is not freed before close. sql/mysqld.cc: Changed to use opt_stack_trace instead of opt_pstack. Removed references to pstack sql/partition_element.h: Ensure that connect_string is initialized storage/maria/ma_key_recover.c: Fixed wrong assert
This commit is contained in:
commit
58bb0769bd
1288 changed files with 22729 additions and 41591 deletions
|
|
@ -230,8 +230,7 @@ int injector::record_incident(THD *thd, Incident incident)
|
|||
Incident_log_event ev(thd, incident);
|
||||
if (int error= mysql_bin_log.write(&ev))
|
||||
return error;
|
||||
mysql_bin_log.rotate_and_purge(RP_FORCE_ROTATE);
|
||||
return 0;
|
||||
return mysql_bin_log.rotate_and_purge(RP_FORCE_ROTATE);
|
||||
}
|
||||
|
||||
int injector::record_incident(THD *thd, Incident incident, LEX_STRING const message)
|
||||
|
|
@ -239,6 +238,5 @@ int injector::record_incident(THD *thd, Incident incident, LEX_STRING const mess
|
|||
Incident_log_event ev(thd, incident, message);
|
||||
if (int error= mysql_bin_log.write(&ev))
|
||||
return error;
|
||||
mysql_bin_log.rotate_and_purge(RP_FORCE_ROTATE);
|
||||
return 0;
|
||||
return mysql_bin_log.rotate_and_purge(RP_FORCE_ROTATE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue