Skip to content

Enrich tests for foreign key with PREPARE and "Non-Transactional DML" #56365

@YangKeao

Description

@YangKeao

Enhancement

We haven't tested the foreign key check with PREPARE and "Non-Transactional DML". We need to check the following things:

  1. When the foreign key check failed, what will happen for the "Non-Transactional DML".
  2. When the foreign key is added, the prepared plan cache should be invalidated.

They should work fine, as the "Non-Transactional DML" will just finish (though part of the DML may success), and the plan cache will always be invalidated if the schema version increased.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions