Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix state of transaction start #424

Merged
merged 1 commit into from
May 26, 2023
Merged

Fix state of transaction start #424

merged 1 commit into from
May 26, 2023

Conversation

fantix
Copy link
Member

@fantix fantix commented Apr 20, 2023

This affects the case when compilation config is set on the client, while a new command is compiled within a transaction. In this case, the compiler will only use the state issued in the transaction start. Before this fix, we didn't send state on transaction commands, so those config was not in effect within transactions, even though each query did carry the right config.

@fantix fantix requested review from 1st1 and elprans April 20, 2023 23:25
This affects the case when compilation config is set on the client,
while a new command is compiled within a transaction. In this case, the
compiler will only use the state issued in the transaction start. Before
this fix, we didn't send state on transaction commands, so those config
was not in effect within transactions, even though each query did carry
the right config.
@fantix fantix merged commit ea53463 into master May 26, 2023
@fantix fantix deleted the tx-state branch May 26, 2023 14:47
fantix added a commit that referenced this pull request May 26, 2023
Changes
=======

* Update for rules of instance names (#423)
  (by @fantix in 5bc5699 for #420)

* Synchronize error types (#429)
  (by @fantix in 03e4012)

* Allow enums in array codec (#431)
  (by @fantix in 2de7e3f for #408)

* Prohibit concurrent operations on the same transaction object (#430)
  (by @fantix in f1fa612 for #130)

* Fix state of transaction start (#424)
  (by @fantix in 297de72)

* codegen: Handle non-identifier characters in enum values (#432)
  (by @fantix in e1ec16d for #428)

Docs
====

* docs: add Code Generation to table of contents (#421)
  (by @AndreasPB in ffe74a1 for #421)
@fantix fantix mentioned this pull request May 26, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants