mirror of
https://github.com/isar/rusqlite.git
synced 2025-08-22 22:34:28 +08:00
Track changes in rust-nightly
This commit is contained in:
@@ -117,7 +117,7 @@ impl ToSql for Vec<u8> {
|
||||
|
||||
impl ToSql for time::Timespec {
|
||||
unsafe fn bind_parameter(&self, stmt: *mut ffi::sqlite3_stmt, col: c_int) -> c_int {
|
||||
let time_str = time::at_utc(*self).strftime(SQLITE_DATETIME_FMT).unwrap();
|
||||
let time_str = time::at_utc(*self).strftime(SQLITE_DATETIME_FMT).unwrap().to_string();
|
||||
time_str.bind_parameter(stmt, col)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user