Fix compilation error with functions and i128 features

This commit is contained in:
gwenn 2018-12-16 08:19:54 +01:00
parent bdfc2dfc54
commit 9dfc56811b

View File

@ -137,6 +137,10 @@ impl<'a> Context<'a> {
FromSqlError::Other(err) => { FromSqlError::Other(err) => {
Error::FromSqlConversionFailure(idx, value.data_type(), err) Error::FromSqlConversionFailure(idx, value.data_type(), err)
} }
#[cfg(feature = "i128_blob")]
FromSqlError::InvalidI128Size(_) => {
Error::FromSqlConversionFailure(idx, value.data_type(), Box::new(err))
}
}) })
} }