#1 2021-09-12 15:37:16

ttomas
Member
Registered: 2013-03-08
Posts: 74

Small bug fix in mormot2

@ab in mormot.db.sql.pas, function TSqlDBConnection.GetServerDateTime: TDateTime;
line 6700 ReleseRows is missing

        if Step then
          fServerTimestampOffset := ColumnDateTime(0) - Current;
        ReleaseRows;

I notice this not release statement in Zeos Firebird "select current_timestamp from rdb$database" and keep open transaction/statement.

Last edited by ttomas (2021-09-12 17:43:24)

Offline

#2 2021-09-13 07:57:18

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 13,000
Website

Re: Small bug fix in mormot2

NIce catch!

Should be fixed now.

Thanks for the feedback.

Offline

Board footer

Powered by FluxBB