[CONJ-508] Connection.getCatalog() optimisation for 10.2+ server Created: 2017-07-21  Updated: 2017-07-21  Resolved: 2017-07-21

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Since MariaDB 10.2, server now send to driver event he subsribe for.
When server has this capability, Driver set "session_track_schema" event.
Driver for Connection.getCatalog() method, must just return current database value, avoiding a round trip.


Generated at Thu Feb 08 03:16:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.