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(). */
| 250 | purposes in sp_pcontext::find_handler(). |
| 251 | */ |
| 252 | class Sql_condition_identity: public Sql_state_errno_level, |
| 253 | public Sql_user_condition_identity |
| 254 | { |
| 255 | public: |
| 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 | |
| 283 | class Sql_condition_items |
no outgoing calls
no test coverage detected