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

Function ConnectionOptionsInit

sqladvisor/main.cc:112–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 int seq_in_index);
111
112void ConnectionOptionsInit(ConnectionOptions *options) {
113 if (options == NULL) {
114 return;
115 }
116 options->configfile = NULL;
117 options->username = NULL;
118 options->password = NULL;
119 options->port = 3306;
120 options->host = NULL;
121 options->dbname = NULL;
122 options->verbose = 0;
123}
124
125void ConnectionOptionsFree(ConnectionOptions *options) {
126 if (options == NULL) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected