Issue Details (XML | Word | Printable)

Key: CORE-2266
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Vlad Khorsun
Reporter: Adriano dos Santos Fernandes
Votes: 0
Watchers: 0
Operations

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

Nbackup database locking not working correctly

Created: 04/Jan/09 03:18 PM   Updated: 26/Jan/09 11:42 AM
Return to search
Component/s: Engine, NBACKUP
Affects Version/s: 2.1.0, 2.5 Alpha 1, 2.1.1
Fix Version/s: 2.1.2, 2.5 Beta 1

Time Tracking:
Not Specified

Environment: Windows / Linux

Planning Status: Unspecified


 Description  « Hide
When the database file is locked for physical copy, it should not change. But test case below shows that it grows.

isql -term !
create database 't.fdb'!
create table t (n integer)!
create procedure sp_load
as
  declare n integer = 0;
begin
  while (n < 50000)
  do
  begin
    insert into t values (:n);
    n = n + 1;
  end
end!

nbackup -L t.fdb

The file sizes are:
t.fdb 692224
t.fdb.delta 12288

isql t.fdb
execute procedure sp_load;

Now the sizes are:
t.fdb 3391488
t.fdb.delta 2551808

 All   Comments   Work Log   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
The cvs commits can not be displayed for repository Firebird at the moment since the log has not yet been parsed. The log will be parsed the next time the VcsService runs. If you have administrators privileges you can hasten the next time the service will run in the service section of the Administration pages.