# Functions
BindDomain binds domain to context.
GetDomain gets domain from context.
NewDomain creates a new domain.
NewSchemaValidator returns a SchemaValidator structure.
# Constants
ResultFail means schemaValidator's check is fail.
ResultSucc means schemaValidator's check is passing.
ResultUnknown means schemaValidator doesn't know the check would be success or fail.
# Variables
ErrInfoSchemaChanged returns the error that information schema is changed.
ErrInfoSchemaExpired returns the error that information schema is out of date.
RunAutoAnalyze indicates if this TiDB server starts auto analyze worker and can run auto analyze job.
# Interfaces
EtcdBackend is used for judging a storage is a real TiKV.
SchemaValidator is the interface for checking the validity of schema version.