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

Method reset

src/adapter/src/session.rs:825–829  ·  view source on GitHub ↗

Resets the session to its initial state. Returns sinks that need to be dropped.

(&mut self)

Source from the content-addressed store, hash-verified

823 /// Resets the session to its initial state. Returns sinks that need to be
824 /// dropped.
825 pub fn reset(&mut self) {
826 let _ = self.clear_transaction();
827 self.prepared_statements.clear();
828 self.vars.reset_all();
829 }
830
831 /// Returns the [application_name] that created this session.
832 ///

Callers 9

fmt_default_textMethod · 0.45
fmt_verbose_textMethod · 0.45
trigger_group_commitMethod · 0.45
executeMethod · 0.45
sequence_planMethod · 0.45
sequence_set_variableMethod · 0.45
modifyMethod · 0.45

Calls 3

clear_transactionMethod · 0.45
clearMethod · 0.45
reset_allMethod · 0.45

Tested by

no test coverage detected