mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-12 06:45:09 +00:00
Fix #104, need to advance buffer index to account for the null (one 32-bit length val of -1)
This commit is contained in:
@@ -36,6 +36,8 @@ impl Decode for DataRow {
|
||||
|
||||
if size == -1 {
|
||||
values.push(None);
|
||||
|
||||
index += 4;
|
||||
} else {
|
||||
values.push(Some((index)..(index + (size as u32))));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user