[PATCH 5/6] space: call before_replace trigger even if space has no indexes
vdavydov.dev at gmail.com
Sat Jul 21 15:26:52 MSK 2018
On Fri, Jul 20, 2018 at 09:39:09PM +0300, Konstantin Osipov wrote:
> * Vladimir Davydov <vdavydov.dev at gmail.com> [18/07/20 20:45]:
> > Needed for blackhole spaces (see the next patch), which don't support
> > indexes per se, but still may have a before_replace trigger installed.
> Why do you need to enable before replace triggers for blackhole?
Why not? before_replace can be installed on a blackhole space so
I guess it should work, otherwise it may raise questions.
> What's wrong with on_replace triggers?
Nothing wrong at all. They work as well.
More information about the Tarantool-patches