#1 mORMot 2 » Bug in mormot.db-sql.ibx.pas » Yesterday 17:31:14

WLemmy
Replies: 3

Hello,

I try mormot.db.sql.ibx.pas and I think I found a bug:

in procedure TSqlDBIbxStatement.ColumnToJson(Col: integer; W: TJsonWriter);

current code:

      SQL_BLOB:
        begin
          if ForceBlobAsNull then
            W.AddNull
          else
          begin

but this works:

      SQL_BLOB:
        begin
          if dsfForceBlobAsNull in fFlags then 
            W.AddNull
          else
          begin

Can someone confirm my change and maybe change the repository?

Best regards

Board footer

Powered by FluxBB