MySQL 8.3.0
Source Code Documentation
Mysqlx::Notice::Warning Struct Reference

Server-side warnings and notes. More...

Public Types

enum  Level { NOTE = 1 , WARNING = 2 , ERROR = 3 }
 

Public Attributes

optional Level level = 1 [ default = WARNING ]
 Note or Warning. More...
 
required uint32 code = 2
 warning code More...
 
required string msg = 3
 warning message More...
 

Detailed Description

Server-side warnings and notes.

.scope == local
.level, .code and .msg map the content of:
SHOW WARNINGS
.scope == global
(undefined) Will be used for global, unstructured messages like:
  • server is shutting down
  • a node disconnected from group
  • schema or table dropped
Mysqlx::Notice::Frame Field Value
.type 1
.scope local or global

Member Enumeration Documentation

◆ Level

Enumerator
NOTE 
WARNING 
ERROR 

Member Data Documentation

◆ code

required uint32 Mysqlx::Notice::Warning::code = 2

warning code

◆ level

optional Level Mysqlx::Notice::Warning::level = 1 [ default = WARNING ]

Note or Warning.

◆ msg

required string Mysqlx::Notice::Warning::msg = 3

warning message


The documentation for this struct was generated from the following file: