Bug #113600 Contribution: Fix join condition for retrieval of imported primary keys

Submitted: 9 Jan 2024 20:48 Modified: 9 Apr 2024 20:05
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:8.x OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[9 Jan 2024 20:48] OCA Admin
Description:
This bug tracks a contribution by Henning Pöttker (Github user: hpoettker) as described in http://github.com/mysql/mysql-connector-j/pull/101

How to repeat:
See description

Suggested fix:
See contribution code attached
[9 Jan 2024 20:48] OCA Admin
Contribution submitted via Github - Fix join condition for retrieval of imported primary keys 
(*) Contribution by Henning Pöttker (Github hpoettker, mysql-connector-j/pull/101#issuecomment-1879867374): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_1667488933.txt (text/plain), 7.28 KiB.

[10 Jan 2024 5:55] MySQL Verification Team
Hello Henning,

Thank you for the report and contribution.

regards,
Umesh
[5 Mar 2024 22:01] Filipe Silva
Duplicates/fixes Bug#108088.
[9 Apr 2024 20:05] Daniel So
Posted by developer:
 
Added the following entry to the Connector/J 8.4.0 changelog: 

"DatabaseMetaData.getImportedKeys() returned imported primary keys from some other databases. It was due to a wrong JOIN clause in the SQL statement for retrieving the imported primary keys, which has now been corrected. Thanks to Henning Pöttker for contributing to this fix. "

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.