Merge pull request #2 from VividCortex/1-add-errors-until-5.7.8

Complete error list as of MySQL 5.7.8
tree: b773fa84d797c311518f227630016464b697c3d7
  1. mysqlerr.go
  2. README.md
README.md

mysqlerr

MySQL Server Error Constants

Covers up to MySQL 5.7.8. Notice that some constants where 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. Here’s the full list of changes since this package's first version:

CodeThis packageMySQL (as of 5.7.8)
1150ER_DELAYED_CANT_CHANGE_LOCKER_UNUSED1
1151ER_TOO_MANY_DELAYED_THREADSER_UNUSED2
1165ER_DELAYED_INSERT_TABLE_LOCKEDER_UNUSED3
1349ER_VIEW_SELECT_DERIVEDER_VIEW_SELECT_DERIVED_UNUSED