8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00

Fix for #7731: Display length of timestamp with timezone is wrong in dialect 1

This commit is contained in:
AlexPeshkoff 2023-08-29 19:18:08 +03:00
parent 81da322277
commit 886fe7219b

View File

@ -70,9 +70,9 @@ static const USHORT _DSC_convert_to_text_length[DTYPE_TYPE_MAX] =
42, // dtype_dec128 +- . e +- coeff + exp
47, // dtype_int128
14 + TimeZoneUtil::MAX_LEN, // dtype_sql_time_tz HH:MM:SS.MMMM +NN:NN
25 + TimeZoneUtil::MAX_LEN, // dtype_timestamp_tz YYYY-MM-DD HH:MM:SS.MMMM +NN:NN
26 + TimeZoneUtil::MAX_LEN, // dtype_timestamp_tz YYYY-MM-DD HH:MM:SS.MMMM +NN:NN
14 + TimeZoneUtil::MAX_LEN, // dtype_ex_time_tz HH:MM:SS.MMMM +NN:NN
25 + TimeZoneUtil::MAX_LEN // dtype_ex_timestamp_tz YYYY-MM-DD HH:MM:SS.MMMM +NN:NN
26 + TimeZoneUtil::MAX_LEN // dtype_ex_timestamp_tz YYYY-MM-DD HH:MM:SS.MMMM +NN:NN
};
// Unimplemented names are in lowercase & <brackets>