Skip to content

Commit

Permalink
remove mssql-incompatible query
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Feb 3, 2025
1 parent 1086ca2 commit 8a85d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filesystem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl DbFsQueries {
db_kind: AnyKind,
) -> anyhow::Result<AnyStatement<'static>> {
let exists_query = format!(
"SELECT 1 from sqlpage_files WHERE path = {} LIMIT 1",
"SELECT 1 from sqlpage_files WHERE path = {}",
make_placeholder(db_kind, 1),
);
let param_types: &[AnyTypeInfo; 1] = &[<str as Type<Postgres>>::type_info().into()];
Expand Down

0 comments on commit 8a85d07

Please sign in to comment.