Skip to content

Commit 8d92c2b

Browse files
committed
Add new error codes up to MySQL 5.7.19
1 parent bcb9348 commit 8d92c2b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-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 new Amazon RDS ca-central-1 certificate CA to Amazon RDS SSL profile #1809
10+
* Add new error codes up to MySQL 5.7.19
1011
* Add `mysql.raw()` to generate pre-escaped values #877 #1821
1112
* Fix "changedRows" to work on non-English servers #1819
1213
* Fix error when server sends RST on `QUIT` #1811

lib/protocol/constants/errors.js

Lines changed: 9 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.18
4+
* Extracted from version 5.7.19
55
*
66
* !! Generated by generate-error-constants.js, do not modify by hand !!
77
*/
@@ -1200,6 +1200,10 @@ exports.ER_GROUP_REPLICATION_MAX_GROUP_SIZE
12001200
exports.ER_CANNOT_ADD_FOREIGN_BASE_COL_STORED = 3192;
12011201
exports.ER_TABLE_REFERENCED = 3193;
12021202
exports.ER_PARTITION_ENGINE_DEPRECATED_FOR_TABLE = 3194;
1203+
exports.ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID_ZERO = 3195;
1204+
exports.ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID = 3196;
1205+
exports.ER_XA_RETRY = 3197;
1206+
exports.ER_KEYRING_AWS_UDF_AWS_KMS_ERROR = 3198;
12031207

12041208
// Lookup-by-number table
12051209
exports[1] = 'EE_CANTCREATEFILE';
@@ -2396,3 +2400,7 @@ exports[3191] = 'ER_GROUP_REPLICATION_MAX_GROUP_SIZE';
23962400
exports[3192] = 'ER_CANNOT_ADD_FOREIGN_BASE_COL_STORED';
23972401
exports[3193] = 'ER_TABLE_REFERENCED';
23982402
exports[3194] = 'ER_PARTITION_ENGINE_DEPRECATED_FOR_TABLE';
2403+
exports[3195] = 'ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID_ZERO';
2404+
exports[3196] = 'ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID';
2405+
exports[3197] = 'ER_XA_RETRY';
2406+
exports[3198] = 'ER_KEYRING_AWS_UDF_AWS_KMS_ERROR';

0 commit comments

Comments
 (0)