Skip to content

Restored FB 1.5 db on FB 2.5 creates some CHECK_n triggers [CORE3118] #3496

Open
@firebird-automations

Description

@firebird-automations

Submitted by: Anderson Farias (afarias)

Assigned to: Claudio Valderrama C. (robocop)

Attachments:
SIG_FB15.7z

Votes: 2

When restoring a FB 1.5 database on FB 2.5 some triggers named "CHECK_n" appears. Steps I've done:

1) backup 1.5 database (ods 10.1) with FB 1.5 engine/gbak (everything or metadata only)
2) restore backup with FB 2.5 engine/gbak using FIX_FSS_DATA and FIX_FSS_METADATA switches
3) connect to created DB and notice some tables (2 for instance) have empty/malforned triggers named CHECK_1 and CHECK_2

you can still backup and restore the new database. but, if you extract to SQL (isql -x) you can't create a new DB from it since there are 'empty triggers' as folow:

CREATE TRIGGER CHECK_2 FOR MY_TABLE
ACTIVE AFTER DELETE POSITION 1
^