Skip to content

Commit 1f640e9

Browse files
committed
fix: add feature flag
1 parent 36bfdb6 commit 1f640e9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libsql/src/database.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ cfg_replication! {
393393
DbType::Sync { db, encryption_config: _ } => db.sync().await,
394394
#[cfg(feature = "sync")]
395395
DbType::Offline { db, remote_writes: false, .. } => db.sync_offline().await,
396+
#[cfg(feature = "sync")]
396397
DbType::Offline { db, remote_writes: true, .. } => {
397398
let mut sync_ctx = db.sync_ctx.as_ref().unwrap().lock().await;
398399
crate::sync::bootstrap_db(&mut sync_ctx).await?;

0 commit comments

Comments
 (0)