From 9dfc56811b324d282f389ceddbae23186405d524 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sun, 16 Dec 2018 08:19:54 +0100 Subject: [PATCH] Fix compilation error with `functions` and `i128` features --- src/functions.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/functions.rs b/src/functions.rs index c265eeb..f119b74 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -137,6 +137,10 @@ impl<'a> Context<'a> { FromSqlError::Other(err) => { Error::FromSqlConversionFailure(idx, value.data_type(), err) } + #[cfg(feature = "i128_blob")] + FromSqlError::InvalidI128Size(_) => { + Error::FromSqlConversionFailure(idx, value.data_type(), Box::new(err)) + } }) }