07.03.2019 16:25, Adriano dos Santos Fernandes wrote:
sizeof(ISC_TIMESTAMP_TZ) == 12

i.e. the whole structure is padded (with two bytes) at the end

I'm not sure whether it's "as desired" though. IIRC, alignment/padding
is implementation-defined in C++, we're playing on the tricky field.

But it how IB/FB always worked. Types are defined in platform specific
way to have correctly sizes. As sizes are fixed they align correctly
with existing platforms.

I have one doubt about this: what value should/is assigned to sqllen for this type? Will Firebird accept there 12 only, 10 only or both?


--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to