8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 21:23:03 +01:00

Fixed CORE-4943 - Dialect 1 casting date to string breaks when in the presence a domain with a check constraint.

This commit is contained in:
asfernandes 2015-09-24 16:19:39 +00:00
parent 7a0732a78b
commit fb89087672

View File

@ -2069,7 +2069,7 @@ void EVL_validate(thread_db* tdbb, const Item& item, const ItemInfo* itemInfo, d
const bool desc_is_null = !desc || (desc->dsc_flags & DSC_null);
request->req_domain_validation = desc;
const USHORT flags = request->req_flags;
const ULONG flags = request->req_flags;
if (!EVL_boolean(tdbb, fieldInfo.validation) && !(request->req_flags & req_null))
{