| 656 | |
| 657 | |
| 658 | void Warning_info::remove_marked_sql_conditions() |
| 659 | { |
| 660 | List_iterator_fast<Sql_condition> it(m_marked_sql_conditions); |
| 661 | Sql_condition *cond; |
| 662 | |
| 663 | while ((cond= it++)) |
| 664 | { |
| 665 | m_warn_list.remove(cond); |
| 666 | m_warn_count[cond->get_level()]--; |
| 667 | m_current_statement_warn_count--; |
| 668 | if (cond == m_error_condition) |
| 669 | m_error_condition= NULL; |
| 670 | } |
| 671 | |
| 672 | m_marked_sql_conditions.empty(); |
| 673 | } |
| 674 | |
| 675 | |
| 676 | bool Warning_info::is_marked_for_removal(const Sql_condition *cond) const |
no test coverage detected