WL#3726: DDL locking for all metadata objects

Affects: Server-5.5   —   Status: Complete

NOTE: This task is needed for implementation of foreign
keys. Progress reports for this work can be found in
WL#148.


Implement DDL locking for all metadata objects.
This is necessary to solve BUG#25144 "replication / binlog with view breaks".