| 4135 | // |
| 4136 | |
| 4137 | static 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 | //____________________________________________________________ |
no test coverage detected