MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / restore_env

Method restore_env

sql/table.cc:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void Object_creation_ctx::restore_env(THD *thd, Object_creation_ctx *backup_ctx)
84{
85 if (!backup_ctx)
86 return;
87
88 backup_ctx->change_env(thd);
89
90 delete backup_ctx;
91}
92
93/**************************************************************************
94 Default_object_creation_ctx implementation.

Callers 1

parse_sqlFunction · 0.80

Calls 1

change_envMethod · 0.45

Tested by

no test coverage detected