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

Physical backup cannot restart operations after the explicit difference file has been dropped [CORE2750] #3145

Closed
firebird-issue-importer opened this issue Nov 12, 2009 · 5 comments

Comments

@firebird-issue-importer

Submitted by: Claudio Valderrama C. (robocop)

Assigned to: Claudio Valderrama C. (robocop)

F:\fb3dev\fbbuild\firebird30\temp\Win32\Debug\firebird\bin>isql
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database 'sharks';
SQL> alter database add difference file 'tuna';
SQL> alter database begin backup;
SQL> alter database end backup;
SQL> alter database drop difference file;
SQL> alter database begin backup;
Statement failed, SQLSTATE = 42000
unsuccessful metadata update
-STORE RDB$FILES failed
-message length error (encountered 278, expected 276)
SQL>

This happens because drq_s_difference has been reused in dyn_mod (it was used in dyn_def) with an extra null flag being referenced. This causes the total length of the message to differ in two bytes (the null flag is USHORT) and fail. The solution is to assign a new drq.

Commits: 4059c77 63a20eb

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 12, 2009

Modified by: Claudio Valderrama C. (robocop)

assignee: Claudio Valderrama C. [ robocop ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 13, 2009

Modified by: Claudio Valderrama C. (robocop)

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 23, 2010

Modified by: Claudio Valderrama C. (robocop)

Fix Version: 2.5 RC3 [ 10381 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 14, 2011

Modified by: @pcisar

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 18, 2016

Modified by: @pavel-zotov

QA Status: No test

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