07.10.2020 17:27, Dimitry Sibiryakov wrote:
Is it ok that sqllen for SQL_TIMESTAMP_TZ is 12 instead of 10 and 8 for SQL_TIME_TZ instead of 6?
C++ allows structure padding but leave its size to be implementation defined. It means that Firebird 4 database may have similar cross-platform compatibility problem as Firebird 3 had with generators page. static_cast must be added somewhere to ensure constant size of the structure or extended types can be used for record storage.
-- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel