Skip to content
Snippets Groups Projects
Commit 9a85ae76 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Konstantin Osipov
Browse files

space: introduce space_execute_dml helper

I'm planning to call BEFORE triggers in space.c. Since a BEFORE trigger
can change the request type, we can't call it from functions handling
particular kinds of requests (space_execute_replace() and others).
So let's move the switch-case statement that executes different space
callbacks depending on the request type from process_rw() to a new
function, space_execute_dml(), defined in space.c. We will execute
BEFORE triggers from this new function, right before dispatching the
request by its type.

Needed for #2993
parent 1a0b0b9e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment