MCPcopy Create free account
hub / github.com/Tencent/phxsql / ~FileCloser

Method ~FileCloser

phx_percona/percona/sql/sql_acl.cc:12192–12196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12190public:
12191 FileCloser(FILE *to_be_closed) : m_file(to_be_closed) {}
12192 ~FileCloser()
12193 {
12194 if (m_file != NULL)
12195 fclose(m_file);
12196 }
12197};
12198
12199/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected