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

Class Sql_condition_identity

sql/sql_error.h:252–280  ·  view source on GitHub ↗

class Sql_condition_identity. Instances of this class uniquely identify conditions (including user-defined exceptions for sql_mode=ORACLE) and store everything that is needed for handler search purposes in sp_pcontext::find_handler(). */

Source from the content-addressed store, hash-verified

250 purposes in sp_pcontext::find_handler().
251*/
252class Sql_condition_identity: public Sql_state_errno_level,
253 public Sql_user_condition_identity
254{
255public:
256 Sql_condition_identity() = default;
257 Sql_condition_identity(const Sql_state_errno_level &st,
258 const Sql_user_condition_identity &ucid)
259 :Sql_state_errno_level(st),
260 Sql_user_condition_identity(ucid)
261 { }
262 Sql_condition_identity(const Sql_state_errno &st,
263 enum_warning_level level,
264 const Sql_user_condition_identity &ucid)
265 :Sql_state_errno_level(st, level),
266 Sql_user_condition_identity(ucid)
267 { }
268 Sql_condition_identity(uint sqlerrno,
269 const char* sqlstate,
270 enum_warning_level level,
271 const Sql_user_condition_identity &ucid)
272 :Sql_state_errno_level(sqlerrno, sqlstate, level),
273 Sql_user_condition_identity(ucid)
274 { }
275 void clear()
276 {
277 Sql_state_errno_level::clear();
278 Sql_user_condition_identity::clear();
279 }
280};
281
282
283class Sql_condition_items

Callers 2

raise_conditionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected