| 690 | |
| 691 | |
| 692 | void Warning_info::reserve_space(THD *thd, uint count) |
| 693 | { |
| 694 | while (m_warn_list.elements() && |
| 695 | (m_warn_list.elements() + count) > thd->variables.max_error_count) |
| 696 | m_warn_list.remove(m_warn_list.front()); |
| 697 | } |
| 698 | |
| 699 | Sql_condition *Warning_info::push_warning(THD *thd, |
| 700 | const Sql_condition_identity *value, |