MySQL 8.0.39
Source Code Documentation
sdi_api.h File Reference
#include <memory>
#include "sql/dd/string_type.h"
#include "sql/dd/types/table.h"

Go to the source code of this file.

Classes

class  dd::sdi::Import_target
 State and operations for importing an sdi file into the DD. More...
 

Namespaces

namespace  dd
 The version of the current data dictionary table definitions.
 
namespace  dd::sdi
 

Functions

bool dd::sdi::check_privileges (THD *thd, const Import_target &t)
 Check that we have the the necessary privileges to import this table. More...
 
MDL_requestdd::sdi::mdl_request (const Import_target &t, MEM_ROOT *mem_root)
 Creates an MDL_request for exclusive MDL on the table being imported. More...
 
bool dd::sdi::drop_all_for_table (THD *, const Table *)
 Drop all SDIs from all tablespaces associated with table. More...
 
bool dd::sdi::drop_all_for_part (THD *, const Partition *)
 Drop all SDIs from all tablespaces associated with partition or sub-partition. More...