Skip to content

Commit

Permalink
fix: fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
kysshsy committed Oct 2, 2024
1 parent 9fec0d4 commit 4716d04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/utility/prepare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub fn prepare_query(
null_mut()
};

#[cfg(not(feature = "pg13"))]
#[cfg(any(feature = "pg15", feature = "pg16", feature = "pg17"))]
{
pg_sys::parse_analyze_varparams(
&mut raw_stmt,
Expand All @@ -76,7 +76,7 @@ pub fn prepare_query(
null_mut(),
)
}
#[cfg(feature = "pg13")]
#[cfg(any(feature = "pg13", feature = "pg14"))]
{
pg_sys::parse_analyze_varparams(
&mut raw_stmt,
Expand Down

0 comments on commit 4716d04

Please sign in to comment.