We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 695a66a commit 3e8f2abCopy full SHA for 3e8f2ab
src/cmap/establish/handshake.rs
@@ -416,10 +416,10 @@ impl Handshaker {
416
credential: Option<&Credential>,
417
) -> Result<(Command, Option<ClientFirst>)> {
418
let mut command = self.command.clone();
419
+ command.target_db = "admin".to_string();
420
421
if let Some(cred) = credential {
422
cred.append_needed_mechanism_negotiation(&mut command.body);
- command.target_db = cred.resolved_source().to_string();
423
}
424
425
let client_first = set_speculative_auth_info(&mut command.body, credential).await?;
0 commit comments