Skip to content

Commit 194af88

Browse files
committed
Add new error codes up to MySQL 5.7.21
1 parent b30d3a6 commit 194af88

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ you spot any mistakes.
77
## HEAD
88

99
* Add Amazon RDS GovCloud SSL certificates #1876
10+
* Add new error codes up to MySQL 5.7.21
1011
* Include connection ID in debug output
1112
* Support Node.js 9.x
1213
* Update Amazon RDS SSL certificates

lib/protocol/constants/errors.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* MySQL error constants
33
*
4-
* Extracted from version 5.7.19
4+
* Extracted from version 5.7.21
55
*
66
* !! Generated by generate-error-constants.js, do not modify by hand !!
77
*/
@@ -1204,6 +1204,11 @@ exports.ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID_ZERO
12041204
exports.ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID = 3196;
12051205
exports.ER_XA_RETRY = 3197;
12061206
exports.ER_KEYRING_AWS_UDF_AWS_KMS_ERROR = 3198;
1207+
exports.ER_BINLOG_UNSAFE_XA = 3199;
1208+
exports.ER_UDF_ERROR = 3200;
1209+
exports.ER_KEYRING_MIGRATION_FAILURE = 3201;
1210+
exports.ER_KEYRING_ACCESS_DENIED_ERROR = 3202;
1211+
exports.ER_KEYRING_MIGRATION_STATUS = 3203;
12071212

12081213
// Lookup-by-number table
12091214
exports[1] = 'EE_CANTCREATEFILE';
@@ -2404,3 +2409,8 @@ exports[3195] = 'ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID_ZERO';
24042409
exports[3196] = 'ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID';
24052410
exports[3197] = 'ER_XA_RETRY';
24062411
exports[3198] = 'ER_KEYRING_AWS_UDF_AWS_KMS_ERROR';
2412+
exports[3199] = 'ER_BINLOG_UNSAFE_XA';
2413+
exports[3200] = 'ER_UDF_ERROR';
2414+
exports[3201] = 'ER_KEYRING_MIGRATION_FAILURE';
2415+
exports[3202] = 'ER_KEYRING_ACCESS_DENIED_ERROR';
2416+
exports[3203] = 'ER_KEYRING_MIGRATION_STATUS';

0 commit comments

Comments
 (0)