[tarantool-patches] Re: [PATCH v2 1/3] box: rfc for stacked diagnostic area in Tarantool

Konstantin Osipov kostja at tarantool.org
Tue Aug 27 21:38:53 MSK 2019


* Alexander Turenko <alexander.turenko at tarantool.org> [19/08/27 09:50]:
> > as I mentioned before, lgtm. I agree with PeterG comments, but I
> > think we can worry about them when we get to implementing SQL
> > warnings.
> 
> I think the important question here is when we clear a diagnostic area
> (if we ever want to decide now anything about warnings). Say, we
> possibly will need to entirely split warning stacks from the error stack
> and possibly will need to operate on several warning stacks.
> 
> I'm tentative that we can decide now whether we should store warnings
> within the same stack as errors or not. Maybe we should postpone all
> warnings questions now and concentrate on errors within the scope #1148.

MySQL uses a statement counter which is incremented on every
external call, and triggers a reset of the area. 

-- 
Konstantin Osipov, Moscow, Russia




More information about the Tarantool-patches mailing list