Update write_decimal max string length (#73)
This commit is contained in:
@@ -223,7 +223,7 @@ impl Connection {
|
|||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
|
|
||||||
// Convert the value to a string
|
// Convert the value to a string
|
||||||
let mut buf = [0u8; 12];
|
let mut buf = [0u8; 20];
|
||||||
let mut buf = Cursor::new(&mut buf[..]);
|
let mut buf = Cursor::new(&mut buf[..]);
|
||||||
write!(&mut buf, "{}", val)?;
|
write!(&mut buf, "{}", val)?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user