Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger on system table restored in FB3 database and can't be deleted [CORE6028] #6278

Closed
firebird-issue-importer opened this issue Mar 20, 2019 · 8 comments

Comments

@firebird-issue-importer

Submitted by: @AlexPeshkoff

Pre-v3 Firebird allowed direct modification of system tables including creating user trigger on system tables.
When such database is migrated to FB3, those triggers are restored by gbak even though they can't be modified or removed.

Commits: 1ddece9 1c2afb4 d89fedd 3828bfd FirebirdSQL/fbt-repository@a3dfb53

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 20, 2019

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 20, 2019

Modified by: @AlexPeshkoff

summary: Triiger on system table restored in FB3 database and can't be deleted => Trigger on system table restored in FB3 database and can't be deleted

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 20, 2019

Commented by: @AlexPeshkoff

Triggers on system tables are not backed up any more (and not restored from old backups).

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 20, 2019

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0.5 [ 10885 ]

Fix Version: 4.0 Beta 2 [ 10888 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 20, 2019

Modified by: Sean Leyne (seanleyne)

description: Firebird before v.3 enabled any modification of system tables including creation of user trigger on system table.
When such database is migrated to FB3 trigger on system table is also restored by gbak but can't be modified or removed.

=>

Pre-v3 Firebird allowed modification of system tables including creating user trigger on system tables.
When such database is migrated to FB3, those triggers are restored by gbak even though they can't be modified or removed.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 20, 2019

Modified by: Sean Leyne (seanleyne)

description: Pre-v3 Firebird allowed modification of system tables including creating user trigger on system tables.
When such database is migrated to FB3, those triggers are restored by gbak even though they can't be modified or removed.

=>

Pre-v3 Firebird allowed direct modification of system tables including creating user trigger on system tables.
When such database is migrated to FB3, those triggers are restored by gbak even though they can't be modified or removed.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 31, 2019

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 31, 2019

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants