# ロールフォワードリカバリのテスト

Begin;
Initialize;
InitializeSession "$$systemdb";

# checkpointで作ってからalterでfull->checkpointにする

Command "create database TEST recovery checkpoint";
Command "select flag from system_database where name = 'TEST'";

Command "alter database TEST recovery full";
Command "select flag from system_database where name = 'TEST'";

Command "alter database TEST recovery checkpoint";
Command "select flag from system_database where name = 'TEST'";

Command "drop database TEST";

TerminateSession;
Terminate;
End;
