MCPcopy Create free account
hub / github.com/MariaDB/server / set_switch

Method set_switch

sql/opt_hints.h:200–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198 }
199
200 void set_switch(opt_hints_enum type_arg,
201 bool switch_state_arg)
202 {
203 if (switch_state_arg)
204 hints.set_bit(type_arg);
205 else
206 hints.clear_bit(type_arg);
207 hints_specified.set_bit(type_arg);
208 }
209
210 bool is_switched_on(opt_hints_enum type_arg) const
211 {

Callers

nothing calls this directly

Calls 2

clear_bitMethod · 0.80
set_bitMethod · 0.45

Tested by

no test coverage detected