MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / enable_feature_flags

Method enable_feature_flags

src/environmentd/src/test_util.rs:959–966  ·  view source on GitHub ↗
(&self, flags: &[&'static str])

Source from the content-addressed store, hash-verified

957 }
958
959 pub async fn enable_feature_flags(&self, flags: &[&'static str]) {
960 let internal_client = self.connect().internal().await.unwrap();
961
962 for flag in flags {
963 let query = sql!("ALTER SYSTEM SET {} = true;", Sql::ident(flag));
964 pg_batch_execute(&internal_client, query).await.unwrap();
965 }
966 }
967
968 pub async fn disable_feature_flags(&self, flags: &[&'static str]) {
969 let internal_client = self.connect().internal().await.unwrap();

Callers 15

test_no_blockFunction · 0.80
test_timeFunction · 0.80
test_subscribe_basicFunction · 0.80
test_github_12546Function · 0.80
test_load_generatorFunction · 0.80

Calls 7

unwrapMethod · 0.80
batch_executeMethod · 0.80
pg_batch_executeFunction · 0.50
internalMethod · 0.45
connectMethod · 0.45
connect_internalMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected