Skip to content

Commit

Permalink
enumvalue error (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
frogeater1 authored Aug 8, 2024
1 parent 8c75ee2 commit 167d3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/innodb/table/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ impl Field {

let num = self.parse_uint(buf, len);
if num == 0 {
(FieldValue::String("__ERROR__".to_owned()), len)
(FieldValue::String("".to_owned()), len)
} else {
let variant_index = num - 1;
assert!(
Expand Down

0 comments on commit 167d3ef

Please sign in to comment.