#unmount/mount
#空ではないDBをunmountしたのち、単純にmountする

Begin;
BeginTimeSpan;
Initialize;
EndTimeSpan;

InitializeSession "";
Command  "create table T1(C1 int, C2 ntext array [no limit] hint heap 'compressed')";
Command  "create fulltext index I1_2 on T1(C2) hint 'sectionized, delayed'";
Command  "insert into T1 (C1, C2) values (?, ?)" [1, ["1"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [2, ["2"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [3, ["3"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [4, ["4"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [5, ["5"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [6, ["6"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [7, ["7"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [8, ["8"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [9, ["9"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [10, ["10"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [11, ["11"]];
Command  "insert into T1 (C1, C2) values (?, ?)" [12, ["12"]];

Command "unmount DefaultDB";
Command "mount DefaultDB path 'd:\\dm\\data\\DefaultDB' using snapshot";
Command "start transaction read write";
Command "verify database DefaultDB cascade continue";
Command "commit";
TerminateSession;

# (障害回復を試すためTerminateしない)
End;

