ERR_Packet

You are viewing an old version of this article. View the current version here.

ERR_Packet

ERR_Packet indicates that an error occured.

Fields

int<1> ERR_Packet header = 0xFF
int<2> error code. see error list
if (errorcode == 0xFFFF) /* progress reporting */ {
    int<1> stage
    int<1> max_stage
    int<3> progress
    string<lenenc> progress_info
} else {    if (next byte = '#') {
        string<1> sql state marker '#'
        string<5>sql state
        string<EOF> error message
   } else {
        string<EOF> error message
   }

See also

"Progress reporting"

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.