Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit fdc5b01

Browse files
author
Julius de Bruijn
committed
Fix tests
1 parent 7588c4b commit fdc5b01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ast/castable.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,17 @@ impl<'a> CastType<'a> {
238238
self
239239
}
240240

241+
#[cfg(feature = "postgresql")]
241242
pub(crate) fn postgres_enabled(&self) -> bool {
242243
self.on_databases.contains(CastDatabase::Postgres)
243244
}
244245

246+
#[cfg(feature = "mysql")]
245247
pub(crate) fn mysql_enabled(&self) -> bool {
246248
self.on_databases.contains(CastDatabase::Mysql)
247249
}
248250

251+
#[cfg(feature = "mssql")]
249252
pub(crate) fn mssql_enabled(&self) -> bool {
250253
self.on_databases.contains(CastDatabase::Mssql)
251254
}

0 commit comments

Comments
 (0)