|Subject||Re: [Firebird-Architect] rfc: TRUNCATE TABLE|
> Dmitry Yemanov escreveu:If we will not dance with undo log (i suppose we will not do it) then we must
>> Adriano dos Santos Fernandes wrote:
>>> Having a AFTER TRUNCATE trigger accessing a truncated table and be able
>>> to read/write data to it seems dangerous to me. And that data will be
>>> lost later.
>>> Perhaps, we should block access to them before the commit?
disable DML on truncated table.
>> I suppose this is exactly what Vlad has been offering.Then we must do something to prevent such access ;)
> I don't remember to read anything about access on the same transaction.
> Anyway, it's currently possible to even access an already dropped table
> on the same transaction.
> Just side effects of the wrong metadata handling that most of us want toWe want to support not *wrong* metadata handling but something else,
> support. :-)
i guess ;)