Subject | Re: [firebird-support] Re: unsuccessful metadata update object is in use |
---|---|
Author | Nando Dessena |
Post date | 2004-05-01T07:33:18Z |
Martijn, Daniel, all,
D> I got the error "object in use" when creating a second FK on a second
D> table.
I believe this is the slightly special case which manifests itself as
"object INDEX is in use". It looks like INDEX is a sort of catch-all
pseudo-object that prevents you to add two keys one after another.
"object WHATEVERELSE is in use" is the more general case that is
explained in this thread.
Ciao
--
Nando Dessena
mailto:nandod@...
>>> - You play safe and detach. If there's no other attachment, this actionD> I agree with you. One of my findings(that I just remembered) was that
>>> ensures the engine itself unloads the db from memory and frees the file
>>> handles associated with it. Next time you connect, your metadata change
>>> should succeed immediately."
>> Disagreed -- when creating a FK, you will get the "object in use"
>> as well, if there are more than 1 connections to the db. Even without
>> a SELECT on the tables involved.
D> I got the error "object in use" when creating a second FK on a second
D> table.
I believe this is the slightly special case which manifests itself as
"object INDEX is in use". It looks like INDEX is a sort of catch-all
pseudo-object that prevents you to add two keys one after another.
"object WHATEVERELSE is in use" is the more general case that is
explained in this thread.
Ciao
--
Nando Dessena
mailto:nandod@...