Open youngsofun opened 8 months ago
Begin
Begin
/ commit
/ rollback
may success, but txn is not working,
for the .session
, it is better for clients to decode and save it as JSON Ast instead of struct, and send to server as it is in next query.
if some field is needed by the client, decode and get them separately. 2 advantages
I will try this later
- old server: user get error when exec
Begin
old client + new server:
Begin
/commit
/rollback
may success, but txn is not working,
- client may need to send version or capability to resolve this?
for the
.session
, it is better for clients to decode and save it as JSON Ast instead of struct, and send to server as it is in next query. if some field is needed by the client, decode and get them separately. 2 advantages
- not compatibility issue when new field is added to the session state
- some field is that client do not care can be ignored when decoding to struct.
I will try this later
@youngsofun Which API need client call when Begin
, commit
, and rollback
? Or use specified SQL ?
@hantmac use specified SQL
Summary
make sure:
steps: