Issue Details (XML | Word | Printable)

Key: CORE-2750
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Claudio Valderrama C.
Reporter: Claudio Valderrama C.
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Physical backup cannot restart operations after the explicit difference file has been dropped

Created: 12/Nov/09 02:00 PM   Updated: 14/Feb/11 11:53 AM
Component/s: Engine
Affects Version/s: 2.1.0, 2.5 Alpha 1, 2.1.1, 2.1.2, 2.5 Beta 1, 2.5 Beta 2, 2.1.3, 3.0 Initial
Fix Version/s: 2.5 RC3, 3.0 Alpha 1

Time Tracking:
Not Specified

Planning Status: Unspecified


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.