WL#13239: Enable/disable primary key checks on slaves

Affects: Server-8.0   —   Status: Complete

EXECUTIVE SUMMARY

After this worklog, the user or operator shall be able to prevent the applier threads to: (a) unconditionally disallow creating or altering tables that end up without a primary key; (b) relax the privilege handling to be able replay incoming DDLs in the replication stream that set the SESSION scope of the system variable sql_require_primary_key.

USER STORIES

U1. As a replication user using a fan-in topology to aggregate data from several sources: - I want to prevent unwanted changes to the existing table key structure.