Skip to content

Commit

Permalink
routing_info -> routing_info_from_prepared_statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Ten0 committed Jul 2, 2023
1 parent 7ac1759 commit 845feee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scylla/src/transport/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ impl Session {
.as_ref()
.map(|pk| prepared.get_partitioner_name().hash(pk));

let statement_info = self.routing_info(prepared, token);
let statement_info = self.routing_info_for_prepared_statement(prepared, token);

let span =
RequestSpan::new_prepared(partition_key.as_ref(), token, serialized_values.size());
Expand Down Expand Up @@ -1825,7 +1825,7 @@ impl Session {
Some(token) => token,
None => return Ok(None),
};
let routing_info = self.routing_info(prepared, Some(token));
let routing_info = self.routing_info_for_prepared_statement(prepared, Some(token));
let cluster_data = self.cluster.get_data();
let execution_profile = prepared
.config
Expand All @@ -1852,7 +1852,7 @@ impl Session {
}))
}

fn routing_info<'p>(
fn routing_info_for_prepared_statement<'p>(
&self,
prepared: &'p PreparedStatement,
token: Option<Token>,
Expand Down

0 comments on commit 845feee

Please sign in to comment.