Skip to content

Commit 31e3a7d

Browse files
authored
Update write_decimal max string length (#73)
1 parent 7ee3ae8 commit 31e3a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl Connection {
223223
use std::io::Write;
224224

225225
// Convert the value to a string
226-
let mut buf = [0u8; 12];
226+
let mut buf = [0u8; 20];
227227
let mut buf = Cursor::new(&mut buf[..]);
228228
write!(&mut buf, "{}", val)?;
229229

0 commit comments

Comments
 (0)