[CONJ-1036] org.mariadb.jdbc.client.socket.impl.PacketWriter.writeAscii() broken in 3.1.0 Created: 2022-12-23 Updated: 2023-01-11 Resolved: 2022-12-23 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 3.1.0 |
| Fix Version/s: | 3.1.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Felix Fontein | Assignee: | Diego Dupin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Commit https://github.com/mariadb-corporation/mariadb-connector-j/commit/2bf550277768f99d2f5e999523011c57a3601725 broke writeAscii(): when the if condition is true, the string is written twice to the buffer. Adding a return statement at the end of the if should fix this. |
| Comments |
| Comment by Felix Fontein [ 2022-12-23 ] |
|
Created https://github.com/mariadb-corporation/mariadb-connector-j/pull/181 which should fix this. |
| Comment by Diego Dupin [ 2022-12-23 ] |
|
closing ad dupplicate of |