[CONJ-319] handle Server session state flag in OKPacket Created: 2016-06-28  Updated: 2017-07-17  Resolved: 2017-03-30

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: None
Fix Version/s: 2.0.0-RC

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

Issue Links:
Blocks
is blocked by MDEV-11761 CLIENT_DEPRECATE_EOF : Client must i... Closed
Relates
relates to MDEV-8931 (server part of) session state tracking Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
CONJ-318 Handle CLIENT_DEPRECATE_EOF flag Sub-Task Closed Diego Dupin  

 Description   

Handle Server session state flag in OKPacket.

This will permit :

  • Driver will know when database is changed by query
    • have a more effective cache for prepare statement since exact same query can be prepare on 2 differents schema
    • switching between 2 connections when replication and reset the changed database
  • when using rewriteBatchedStatements and session variable @auto_increment_increment has change during session, ensure that generatedKeys are valid.


 Comments   
Comment by Diego Dupin [ 2017-01-11 ]

this must include handling EOF deprecation, and then is bloqued by MDEV-11761

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