Subject | Re: [Firebird-Architect] rfc: TRUNCATE TABLE |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2008-10-22T12:04:06Z |
Dmitry Yemanov escreveu:
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 to
support. :-)
Adriano
> Adriano dos Santos Fernandes wrote:I don't remember to read anything about access on the same transaction.
>
>> 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?
>>
>
> I suppose this is exactly what Vlad has been offering.
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 to
support. :-)
Adriano