Subject | Re: Database trigger - On start transaction |
---|---|
Author | Michael Vilhelmsen |
Post date | 2008-12-18T14:13:48Z |
--- In firebird-support@yahoogroups.com, Thomas Steinmaurer <ts@...>
wrote:
I create a table.
I create a database trigger as INACTIVE.
I disconnect.
I cant connect anymore using IBO.
Whether or not the INACTIVE part is visible to others - I dont know.
Whether IBO then starts a read-only transaction somewhere - I dont
know. But when the trigger is INACTIVE it should not have any
influence. Should it?
wrote:
>can once
> >>> Then connecting using IBX I delete the database trigger and I
> >>> again connect via OBObjectsTRIGGER
> >>>
> >>> But should I get this error sinse the database trigger is INACTIVE?
> >> Perhaps the trigger already existed as ACTIVE and the RECREATE
> >> statement didn't get committed?I use a DB with no Database trigges.
> >
> >
> > No - just tried it from scratch on a different DB using the above
> > approach.
>
> Activating / deactivating a database trigger works fine here. So my
> guess is still, that the INACTIVE isn't visible to others and as IBO
> might start a read-only transaction for query metadata, you get this
> error. IBX probably does not start a read-only transaction at all, thus
> no error.
I create a table.
I create a database trigger as INACTIVE.
I disconnect.
I cant connect anymore using IBO.
Whether or not the INACTIVE part is visible to others - I dont know.
Whether IBO then starts a read-only transaction somewhere - I dont
know. But when the trigger is INACTIVE it should not have any
influence. Should it?
>
>
> --
> Best Regards,
> Thomas Steinmaurer
> LogManager Series - Logging/Auditing Suites supporting
> InterBase, Firebird, Advantage Database, MS SQL Server and
> NexusDB V2
> Upscene Productions
> http://www.upscene.com
> My blog:
> http://blog.upscene.com/thomas/
>