Only clear warning info if haven't yet done that already for the current query. Allows to be issued at any time during the query, without risk of clearing some warnings that have been generated by the current statement. @todo: This is a sign of sloppy coding. Instead we need to designate one place in a statement life cycle where we call Warning_info::clear(). @param q
| 324 | @param query_id Current query id. |
| 325 | */ |
| 326 | void opt_clear(ulonglong query_id) |
| 327 | { |
| 328 | if (query_id != m_warn_id) |
| 329 | clear(query_id); |
| 330 | } |
| 331 | |
| 332 | /** |
| 333 | Concatenate the list of warnings. |
no outgoing calls
no test coverage detected