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

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: 18/Jan/16 05:18 PM
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

QA Status: No test

 Description  « Hide
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
-message length error (encountered 278, expected 276)

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   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.