We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf22cc9 + f5cc15e commit 7a43396Copy full SHA for 7a43396
diesel/src/mysql/connection/bind.rs
@@ -406,12 +406,6 @@ impl BindData {
406
} else {
407
let data = self.bytes?;
408
let tpe = (self.tpe, self.flags).into();
409
- // On some distributions, the mariadb client library returns length 0 for NULL fields of type DECIMAL
410
- // instead of using is_null for unknown reasons
411
- if self.tpe == self::ffi::enum_field_types::MYSQL_TYPE_LONGLONG && self.length == 0 {
412
- return None;
413
- }
414
-
415
let slice = unsafe {
416
// We know that this points to a slice and the pointer is not null at this
417
// location
0 commit comments