From 167d3efafcb1400583ae024a4e423b97c22bde77 Mon Sep 17 00:00:00 2001 From: frogeater <100656395+frogeater1@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:45:36 +0800 Subject: [PATCH] enumvalue error (#5) --- src/innodb/table/field.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/innodb/table/field.rs b/src/innodb/table/field.rs index e8e6b79..e54b292 100644 --- a/src/innodb/table/field.rs +++ b/src/innodb/table/field.rs @@ -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!(