This commit is contained in:
Steven Fackler 2015-12-25 20:20:28 -07:00
parent 4f37625cd6
commit f79e98e07a
3 changed files with 10 additions and 11 deletions

View File

@ -217,7 +217,7 @@ impl<'a> Row<'a> {
{
let idx = match idx.idx(self.stmt) {
Some(idx) => idx,
None => return None
None => return None,
};
let ty = self.stmt.columns()[idx].type_();

View File

@ -435,8 +435,7 @@ impl<'conn> Statement<'conn> {
ReadyForQuery { .. } => {
return Err(Error::Io(io::Error::new(io::ErrorKind::InvalidInput,
"called `copy_out` on a \
non-`COPY TO STDOUT` \
statement")));
non-`COPY TO STDOUT` statement")));
}
_ => {}
}