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 f9d9990 commit acbc7a6Copy full SHA for acbc7a6
src/lib.rs
@@ -244,7 +244,7 @@ impl<'a> io::Seek for LargeObject<'a> {
244
};
245
let stmt = try_io!(self.trans.prepare_cached("SELECT pg_catalog.lo_lseek($1, $2, $3)"));
246
let rows = try_io!(stmt.query(&[&self.fd, &pos, &kind]));
247
- let pos: i64 = rows.iter().next().unwrap().get(0);
+ let pos: i32 = rows.iter().next().unwrap().get(0);
248
Ok(pos as u64)
249
}
250
0 commit comments