MCPcopy Create free account
hub / github.com/MariaDB/server / get_error_condition_identity

Method get_error_condition_identity

sql/sql_error.h:1127–1133  ·  view source on GitHub ↗

Get the current errno, state and id of the user defined condition and return them as Sql_condition_identity. */

Source from the content-addressed store, hash-verified

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()

Callers 1

handle_sql_conditionMethod · 0.80

Calls 1

Tested by

no test coverage detected