Update write_decimal max string length (#73)

This commit is contained in:
Alice Ryhl
2021-01-03 12:36:55 +01:00
committed by GitHub
parent 7ee3ae8342
commit 31e3a7db42

View File

@@ -223,7 +223,7 @@ impl Connection {
use std::io::Write;
// Convert the value to a string
let mut buf = [0u8; 12];
let mut buf = [0u8; 20];
let mut buf = Cursor::new(&mut buf[..]);
write!(&mut buf, "{}", val)?;