Skip to content

Commit

Permalink
Update write_decimal max string length (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn authored Jan 3, 2021
1 parent 7ee3ae8 commit 31e3a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;

Expand Down

0 comments on commit 31e3a7d

Please sign in to comment.