MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / act_set

Function act_set

src/gpre/sql.cpp:4137–4163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4135//
4136
4137static act* act_set(const TEXT* base_directory)
4138{
4139
4140 if (MSC_match(KW_TRANSACTION))
4141 return act_set_transaction();
4142
4143 if (MSC_match(KW_NAMES))
4144 return act_set_names();
4145
4146 if (MSC_match(KW_STATISTICS))
4147 return act_set_statistics();
4148
4149 if (MSC_match(KW_SCHEMA) || MSC_match(KW_DATABASE))
4150 return PAR_database(true, base_directory);
4151
4152 if (MSC_match(KW_GENERATOR))
4153 return act_set_generator();
4154
4155 if (MSC_match(KW_SQL))
4156 {
4157 if (MSC_match(KW_DIALECT))
4158 return act_set_dialect();
4159 }
4160
4161 CPR_s_error("TRANSACTION, NAMES, SCHEMA, DATABASE, GENERATOR, DIALECT or STATISTICS");
4162 return NULL; // silence compiler
4163}
4164
4165
4166//____________________________________________________________

Callers 1

SQL_actionFunction · 0.85

Calls 8

MSC_matchFunction · 0.85
act_set_transactionFunction · 0.85
act_set_namesFunction · 0.85
act_set_statisticsFunction · 0.85
PAR_databaseFunction · 0.85
act_set_generatorFunction · 0.85
act_set_dialectFunction · 0.85
CPR_s_errorFunction · 0.85

Tested by

no test coverage detected