[CONJ-102] MySQL-Incompatible result from ResultSet.getString() for BIT(1) Created: 2014-06-15 Updated: 2014-11-26 Resolved: 2014-11-26 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | None |
| Affects Version/s: | 1.1.7 |
| Fix Version/s: | 1.1.8 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Joachim Durchholz | Assignee: | Massimo Siani (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Description |
|
ResultSet.getString() returns "true" or "false" for BIT(1). I'm trying to move a steaming pile of code from MySQL to MariaDB, and the prior dev assumed that BIT(1) would come out as "0" or "1" in getString. I classify this as a bug because MariaDB claims MySQL compatibility at the driver level (among others), and as a blocker because I can't reasonably switch to MariaDB due to this bug. (Suggestion: Add unit tests for checking compatibility.) |