| 582 | |
| 583 | |
| 584 | bool Warning_info::has_sql_condition(const char *message_str, |
| 585 | ulong message_length) const |
| 586 | { |
| 587 | Diagnostics_area::Sql_condition_iterator it(m_warn_list); |
| 588 | const Sql_condition *err; |
| 589 | |
| 590 | while ((err= it++)) |
| 591 | { |
| 592 | if (strncmp(message_str, err->get_message_text(), message_length) == 0) |
| 593 | return true; |
| 594 | } |
| 595 | |
| 596 | return false; |
| 597 | } |
| 598 | |
| 599 | |
| 600 | void Warning_info::clear(ulonglong new_id) |
no test coverage detected