Bug #94585 | getTableName() returns null for a query having count(*) with JDBC driver v8.0.12 | ||
---|---|---|---|
Submitted: | 7 Mar 2019 7:39 | Modified: | 24 May 2019 22:01 |
Reporter: | kriti suwalka | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 8.0.12, 8.0.15 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | regression |
[7 Mar 2019 7:39]
kriti suwalka
[7 Mar 2019 8:50]
MySQL Verification Team
Hello kriti, Thank you for the report. regards, Umesh
[7 Mar 2019 12:38]
kriti suwalka
Is there any way to go back to old behavior ?
[11 Mar 2019 13:45]
kriti suwalka
Issue is seen with almost all aggregate functions, to name a few min,max,concatenation,cast etc.
[24 May 2019 22:01]
Daniel So
Posted by developer: Added the following entry to the Connector/J 8.0.17 and 5.1.48 changelog: "ResultSetMetaData.getTableName() returned null when no applicable results could be returned for a column. However, the JDBC documentation specified an empty string to be returned in that case. This fix makes the method behave as documented. The same correction has been made for getCatalogName() and getSchemaName()."