#1 2022-01-23 10:19:52

L_VV
Member
Registered: 2020-10-29
Posts: 38

ReHash in mormot.db.sql.zeos with PUREMORMOT2 enabled

Good afternoon,

When the {$define PUREMORMOT2} is enabled, the mormot.db.sql.zeos unit is not compiled because of TDynArrayHashed.ReHash is not defined.

If we replace fColumn.ReHash call with fColumn.ForceReHash in procedure ExecutePrepared in line 1140, then this unit is compiled successfully.

Offline

#2 2022-01-23 14:10:46

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,272
Website

Re: ReHash in mormot.db.sql.zeos with PUREMORMOT2 enabled

You are right.

It should be fixed by https://github.com/synopse/mORMot2/commit/d5d171d3

Thanks for the feedback.

Offline

#3 2022-01-23 16:58:47

L_VV
Member
Registered: 2020-10-29
Posts: 38

Re: ReHash in mormot.db.sql.zeos with PUREMORMOT2 enabled

Thank you, now all OK

Offline

Board footer

Powered by FluxBB