public override void WriteSequenceStatement(Session session, NumberSequence seq) { base.SchemaToLog = seq.GetName().schema; base.BusyWriting = true; this.WriteSessionIdAndSchema(session); this.RowOut.Reset(); this.RowOut.Write(BytesSequence); this.RowOut.WriteString(seq.GetSchemaName().StatementName); this.RowOut.Write(0x2e); this.RowOut.WriteString(seq.GetName().StatementName); this.RowOut.Write(BytesSequenceMid); this.RowOut.WriteLong(seq.Peek()); this.RowOut.Write(BytesLineSep); this.WriteRowOutToFile(); base.ByteCount += this.RowOut.Size(); base.NeedsSync = true; base.BusyWriting = false; if (base.forceSync) { base.Sync(); } }