Get the current errno, state and id of the user defined condition and return them as Sql_condition_identity. */
| 1125 | and return them as Sql_condition_identity. |
| 1126 | */ |
| 1127 | Sql_condition_identity get_error_condition_identity() const |
| 1128 | { |
| 1129 | DBUG_ASSERT(m_status == DA_ERROR); |
| 1130 | return Sql_condition_identity(*this /*Sql_state_errno*/, |
| 1131 | Sql_condition::WARN_LEVEL_ERROR, |
| 1132 | *this /*Sql_user_condition_identity*/); |
| 1133 | } |
| 1134 | |
| 1135 | /* Used to count any warnings pushed after calling set_ok_status(). */ |
| 1136 | void increment_warning() |
no test coverage detected