[
https://issues.apache.org/jira/browse/THRIFT-3648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enrique Fynn updated THRIFT-3648:
---------------------------------
Description:
The simple code that was supposed to work is in
https://github.com/enriquefynn/union_thrift
I also believe that setting a field should automatically flag the isset for the
field true as if I use a struct instead of union
Even setting all the fields of isset to false, in the server I see all the
fields setted.
was:
The simple code that was supposed to work is in
https://github.com/enriquefynn/union_thrift
I also believe that setting a field should automatically flag the isset for the
field true.
Even setting all the fields of isset to false, in the server I see all the
fields setted.
> Union in c++ doesn't work
> -------------------------
>
> Key: THRIFT-3648
> URL: https://issues.apache.org/jira/browse/THRIFT-3648
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.9.3
> Environment: ubuntu gnu/linux 4.2, with boost 1.57
> Reporter: Enrique Fynn
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> The simple code that was supposed to work is in
> https://github.com/enriquefynn/union_thrift
> I also believe that setting a field should automatically flag the isset for
> the field true as if I use a struct instead of union
> Even setting all the fields of isset to false, in the server I see all the
> fields setted.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)