mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 17:23:03 +01:00
Correction for drop not null constraint validation.
This commit is contained in:
parent
f947d0bb17
commit
19823f8e59
@ -519,7 +519,8 @@ void beforeDeleteRelationConstraint(thread_db* tdbb, Record* record)
|
||||
|
||||
FOR (REQUEST_HANDLE request2 TRANSACTION_HANDLE transaction)
|
||||
RCL IN RDB$RELATION_CONSTRAINTS
|
||||
WITH RCL.RDB$INDEX_NAME = IND.RDB$INDEX_NAME
|
||||
WITH RCL.RDB$INDEX_NAME = IND.RDB$INDEX_NAME AND
|
||||
RCL.RDB$CONSTRAINT_TYPE = PRIMARY_KEY
|
||||
{
|
||||
ERR_post(Arg::Gds(isc_primary_key_notnull));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user