[CONJ-644] Small optimization when validating connection Created: 2018-09-06 Updated: 2019-02-08 Resolved: 2019-01-15 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | performance |
| Affects Version/s: | 2.3.0 |
| Fix Version/s: | 1.8.0, 2.4.0 |
| Type: | Task | Priority: | Minor |
| Reporter: | Federico Gaule | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Avoid creating array from galeraAllowableStates every time #isValid is called. see Pull Request |
| Comments |
| Comment by Diego Dupin [ 2019-01-15 ] |
|
done with commit https://github.com/MariaDB/mariadb-connector-j/commit/1c604d1fa62197281dd1901775d92e4100098815 |