mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:03: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:
parent
7a0732a78b
commit
fb89087672
@ -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);
|
const bool desc_is_null = !desc || (desc->dsc_flags & DSC_null);
|
||||||
|
|
||||||
request->req_domain_validation = desc;
|
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))
|
if (!EVL_boolean(tdbb, fieldInfo.validation) && !(request->req_flags & req_null))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user