We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc4361 commit 1b121d0Copy full SHA for 1b121d0
database/src/pool/sqlite.rs
@@ -1114,8 +1114,8 @@ impl Connection for SqliteConnection {
1114
Ok(crate::Step {
1115
name: row.get(0)?,
1116
is_done: row.get(1)?,
1117
- duration: Duration::from_secs(row.get::<_, i64>(2)? as u64),
1118
- expected: Duration::from_secs(row.get::<_, i64>(3)? as u64),
+ duration: Duration::from_secs(row.get::<_, i64>(2).unwrap_or_default() as u64),
+ expected: Duration::from_secs(row.get::<_, i64>(3).unwrap_or_default() as u64),
1119
})
1120
1121
.unwrap()
0 commit comments