Skip to content

Commit

Permalink
chore(driver-adapters): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jkomyno committed Oct 16, 2024
1 parent 2679bfb commit 160c866
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ impl Connector for Js {

fn name(&self) -> &'static str {
match self.connection_info.sql_family() {
Some(SqlFamily::Postgres) => "postgresql",
Some(SqlFamily::Mysql) => "mysql",
Some(SqlFamily::Sqlite) => "sqlite",
SqlFamily::Postgres => "postgresql",
SqlFamily::Mysql => "mysql",
SqlFamily::Sqlite => "sqlite",
_ => "js",

Check failure on line 55 in query-engine/connectors/sql-query-connector/src/database/js.rs

View workflow job for this annotation

GitHub Actions / clippy linting

unreachable pattern
}
}
Expand Down
2 changes: 1 addition & 1 deletion query-engine/core/src/executor/execute_operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub async fn execute_many_self_contained<C: Connector + Send + Sync>(
let conn_span = info_span!(
"prisma:engine:connection",
user_facing = true,
"db.system" = connector.system_name(),
"db.system" = connector.name(),
);
let conn = connector.get_connection().instrument(conn_span).await?;

Expand Down

0 comments on commit 160c866

Please sign in to comment.