[Tarantool-patches] [PATCH] sql: display line and position in syntax errors

Nikita Pettik korablev at tarantool.org
Sun Dec 29 02:05:40 MSK 2019


On 27 Dec 20:14, Kirill Yukhin wrote:
> On 27 дек 19:07, Nikita Pettik wrote:
> > On 11 Dec 17:36, Nikita Pettik wrote:
> > > When it comes for huge queries, it may turn out to be useful to see
> > > exact position of occurred error. Hence, let's now display line and
> > > position within line near which syntax error takes place. Note that it
> > > can be done only during parsing process (since AST can be analysed only
> > > after its construction is completed), so most of semantic errors still
> > > don't contain position. A few errors have been reworked to match new
> > > formatting patterns.
> > > 
> > > First iteration of this patch is implemented by @romanhabibov
> > > 
> > > Closes #2611
> > > ---
> > > Branch: https://github.com/tarantool/tarantool/tree/np/gh-2611-line-pos-syntax-error
> > > Issue: https://github.com/tarantool/tarantool/issues/2611
> > > v1: https://lists.tarantool.org/pipermail/tarantool-patches/2019-October/011841.html
> > 
> > If nobody has objections (concerning new error messages patterns),
> > I am going to push it.
> 
> Sure.

Pushed to master.
 
> --
> Regards, Kirill Yukhin
> 


More information about the Tarantool-patches mailing list