[CONJ-333] ResultSet.getString() of PreparedStatement return NULL When TIME column value=00:00:00 Created: 2016-08-16 Updated: 2016-08-22 Resolved: 2016-08-22 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 1.4.6 |
| Fix Version/s: | 1.5.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
This bug is similar to I've attached a test program similar to the JUnit test case in
Then build and execute the program:
Example output:
|
| Comments |
| Comment by Diego Dupin [ 2016-08-22 ] |
|
reproduced, when option useServerPrepStmts is set to true, ResultSet.getString() on a time column return NULL when value=00:00:00. correction done in commit : https://github.com/MariaDB/mariadb-connector-j/commit/9fe880c6ed7ec27b12ba2a1a110f8084c42d69a2 |