[CONJ-190] 'getSqlState' vs 'getSQLState' in QueryException Created: 2015-09-02 Updated: 2017-01-05 Resolved: 2017-01-05 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 1.2.0 |
| Fix Version/s: | 2.0.0-RC |
| Type: | Bug | Priority: | Minor |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
report from github (https://github.com/MariaDB/mariadb-connector-j/issues/37) created by bbundy Should this actually be spelled 'getSQLState'? It is causing ruby Sequel to fail here: If I issue a long-running query via Sequel and set a breakpoint on the line: and manually kill the query, I get but cause.respond_to?(:getSQLState) is false! this appears to be due to the spelling in which is correct? I would think for consistency with The failure of Sequel to properly identify disconnect errors can cause problems with its threaded connection pool: if the closed connection is mistakenly returned to the pool, the next request that uses it fails unexpectedly. Thanks for looking into this! |
| Comments |
| Comment by Diego Dupin [ 2017-01-05 ] |
|
fixed in 1.6.0 |