Make FromSql return a SqliteResult

This commit is contained in:
John Gallagher
2014-10-20 21:07:52 -04:00
parent 56846dc0bd
commit 1fa4c2098e
2 changed files with 15 additions and 13 deletions

View File

@@ -346,7 +346,7 @@ impl<'stmt> SqliteRow<'stmt> {
return Err(SqliteError{ code: ffi::SQLITE_MISUSE,
message: "Invalid column index".to_string() });
}
Ok(FromSql::column_result(self.stmt.stmt, idx))
FromSql::column_result(self.stmt.stmt, idx)
}
}
}