On Thu, Aug 27, 2015 at 3:37 PM, Richard Hipp <drh at sqlite.org> wrote:

> On 8/27/15, Clemens Ladisch <clemens at ladisch.de> wrote:
> > Dominique Devienne wrote:
> >> how can we programatically reliably discover which (v)tables a view
> >> accesses, staying in documented behavior land?
> >
> > With an authorizer callback:
> > http://www.sqlite.org/c3ref/set_authorizer.html
> >
>
> Clever!  I was about to write back that SQLite does not provide the
> capability that Dominique wants, but I think Clemens's answer is better!
>

Thanks Clemens and Richard. If VTable names are reported, this will work
for us!
I'll try it, to move away from our current reliance on undefined behavior.
--DD

Reply via email to