Skip to content
Snippets Groups Projects

refactor: add session id to prepare funcs

Merged Arseniy Volynets requested to merge av/refactor-prepare into 2.11.2-picodata

Summary

  • refactor: add session id to prepare funcs
  1. add session id argument to sql_prepare_ext
  2. introduce sql_unprepare_ext function. This function removes prepared stmt using given session id.

In picodata SQL, we may prepare stmt in one session and unprepare it in some other session, which does not know in what session the statement was prepared. Now sql_prepare_ext returns not only statement id, but also a session id. This way statement can be unprepared from other session using sql_unprepare_ext.

NO_DOC=picodata internal patch NO_CHANGELOG=picodata internal patch

Close #... Docs follow-up: not necessary / new issue

Merge request reports

Pipeline #47484 passed

Pipeline passed for 41af865e on av/refactor-prepare

Approval is optional

Merged by Arseniy VolynetsArseniy Volynets 7 months ago (Aug 8, 2024 8:24am UTC)

Merge details

  • Changes merged into with 41af865e.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #47487 passed

Pipeline passed for 41af865e on 2.11.2-picodata

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading