Subject | Re: [firebird-support] Re: Database corruption if server is not properly shutdown |
---|---|
Author | Federico Tello Gentile |
Post date | 2005-09-05T12:55:58Z |
Adam wrote:
Now I see this is not related with properly shuting down FB. It happened
again. I think this corruption comes from dropping and recreating all DB
objects from Flamerobin via a DDL statements script. I will not use
flamerobin anymore and I will use isql to make alterations instead of
dropping everything and recreating it.
I hope I never see that message again.
working bad.
I used that example to show that the DB was corrupted, once it is
corrupted I don't care what it is doing wrong.
> --- In firebird-support@yahoogroups.com, Federico Tello GentileThe column was defined as not null references...
> <fgentile@s...> wrote:
>
> Your foreign key is defined as on delete set null, BUT you have a not
> NULL constraint on the table. First thing you need to understand is
> that constraints are internally implemented as triggers. Infact check
> the RDB$CHECK_CONSTRAINTS, that will return the trigger name, then
> check RDB$TRIGGERS
Now I see this is not related with properly shuting down FB. It happened
again. I think this corruption comes from dropping and recreating all DB
objects from Flamerobin via a DDL statements script. I will not use
flamerobin anymore and I will use isql to make alterations instead of
dropping everything and recreating it.
I hope I never see that message again.
>This does not matter, since this only hapens when the DB is already
> Depending on which order these constraints are processed, the NULL
> value may be able to be stored in a NOT NULL field. This IMO would be
> a bug.
working bad.
I used that example to show that the DB was corrupted, once it is
corrupted I don't care what it is doing wrong.