| 562 | } |
| 563 | |
| 564 | Warning_info::Warning_info(ulonglong warn_id_arg, bool allow_unlimited_warnings) |
| 565 | :m_current_statement_warn_count(0), |
| 566 | m_current_row_for_warning(1), |
| 567 | m_warn_id(warn_id_arg), |
| 568 | m_error_condition(NULL), |
| 569 | m_allow_unlimited_warnings(allow_unlimited_warnings), |
| 570 | m_read_only(FALSE) |
| 571 | { |
| 572 | /* Initialize sub structures */ |
| 573 | init_sql_alloc(&m_warn_root, WARN_ALLOC_BLOCK_SIZE, WARN_ALLOC_PREALLOC_SIZE); |
| 574 | m_warn_list.empty(); |
| 575 | memset(m_warn_count, 0, sizeof(m_warn_count)); |
| 576 | } |
| 577 | |
| 578 | Warning_info::~Warning_info() |
| 579 | { |
nothing calls this directly
no test coverage detected