Fix incomplete match under functions feature

This commit is contained in:
John Gallagher 2017-01-22 20:05:06 -05:00
parent 7b32713313
commit e180ab15ce

View File

@ -198,6 +198,7 @@ impl<'a> Context<'a> {
FromSqlError::InvalidType => {
Error::InvalidFunctionParameterType(idx, value.data_type())
}
FromSqlError::OutOfRange(i) => Error::IntegralValueOutOfRange(idx as c_int, i),
FromSqlError::Other(err) => {
Error::FromSqlConversionFailure(idx, value.data_type(), err)
}