diff --git a/internal/eval/bytearray.go b/internal/eval/bytearray.go index 91e9edc40..45900aa21 100644 --- a/internal/eval/bytearray.go +++ b/internal/eval/bytearray.go @@ -98,7 +98,7 @@ func ByteSliceToObj(store *dstore.Store, oldObj *object.Obj, b []byte, objType u func ByteSliceToIntObj(store *dstore.Store, oldObj *object.Obj, b []byte) (*object.Obj, error) { intVal, err := strconv.ParseInt(string(b), 10, 64) if err != nil { - return store.NewObj(string(b), -1, object.ObjTypeString, object.ObjEncodingEmbStr), nil + return store.NewObj(string(b), -1, object.ObjTypeString), nil } return store.NewObj(intVal, -1, object.ObjTypeInt), nil }