duplicate key error for mysql >=8.0.19 are not parsed correctly
Bug #1896916 reported by
Koichiro Den
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.db |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since mysql-server 8.0.19, table name is added in Duplicate Key Error messages [1]. Users of DBDuplicateEntr
[1]: https:/
[2]: For instance, https:/
Changed in oslo.db: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.db/ +/792124 /opendev. org/openstack/ oslo.db/ commit/ 2c2e6d48ace2d91 dce94d2e62fb0bd da904bc2bd
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 2c2e6d48ace2d91 dce94d2e62fb0bd da904bc2bd
Author: Kamlesh Chauvhan <email address hidden>
Date: Wed May 19 10:41:16 2021 +0000
Added handler for mysql 8.0.19 duplicate key error update
In mysql 8.0.19 , Duplicate key error information is extended to
include the table name of the key.Previously, duplicate key error
information included only the key value and key name.
Unit tests are provided for updated changes.
Change-Id: Ic78059b625e73c ece355541cb4d89 e641abc1103
Closes-Bug: #1896916