Fix error packet default

This commit is contained in:
Daniel Akhterov 2019-06-14 18:51:31 -07:00
parent 74044d2e4f
commit 2325150f9f

View File

@ -292,6 +292,15 @@ impl Deserialize for ErrPacket {
}
}
Ok(ErrPacket::default())
Ok(ErrPacket {
error_code,
stage,
max_stage,
progress,
progress_info,
sql_state_marker,
sql_state,
error_message,
})
}
}