Clone this repo:

Branches

  1. 3680c40 Merge pull request #6 from VividCortex/update-8-0-19 by Peter Matseykanets · 6 months ago master
  2. e4e9679 Avoid triggering the workflow twice for a PR by Peter Matseykanets · 6 months ago
  3. e9d9e02 Use a GitHub action to run go vet by Peter Matseykanets · 6 months ago
  4. ca93b60 Update the copyright in the license by Peter Matseykanets · 6 months ago
  5. 9e7c1c8 Regenerated the full list not just the delta by Peter Matseykanets · 6 months ago

mysqlerr

MySQL Server Error Constants.

Covers up to MySQL 8.0.19. Notice that some constants were renamed in later versions of MySQL, because they became obsolete. (In case you wonder: the names here match the symbols MySQL uses in source code.) Obsolete names haven't been changed in this package to avoid breaking code, but you should no longer be using them in applications. New and/or changed names (symbols) are given in inline comments.

const (
    ER_HASHCHK                  = 1000 // OBSOLETE_ER_HASHCHK
    ER_NISAMCHK                 = 1001 // OBSOLETE_ER_NISAMCHK
    // ...
    ER_WRONG_OUTER_JOIN         = 1120 // ER_WRONG_OUTER_JOIN_UNUSED
    // ...
    ER_DELAYED_CANT_CHANGE_LOCK = 1150 // OBSOLETE_ER_UNUSED1
    ER_TOO_MANY_DELAYED_THREADS = 1151 // OBSOLETE_ER_UNUSED2
    // ...
)