[CXX-1700] b_timestamp fields inversion Created: 05/Dec/18 Updated: 07/Dec/18 Resolved: 07/Dec/18 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | BSON |
| Affects Version/s: | 3.2.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Cristiano Toninato | Assignee: | Kevin Albertson |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
Hi all. I suspect increment and timestamp fields in struct b_timestamp are swapped. Output of this snippet
is
I verified it happens with mongocxx 3.2.0, but it should be the same with current version of mongocxx.
It seems depending on get_timestamp code (return statement):
because b_timestamp is defined
|
| Comments |
| Comment by Cristiano Toninato [ 07/Dec/18 ] |
|
Ok, thank you @Kevin Albertson, I am sorry for useless issue, I did not find Thank you, I will apply that correction on library source. Best regards, Cristiano |
| Comment by Kevin Albertson [ 06/Dec/18 ] |
|
Hi criton, thank you for the report. This should have been fixed in 3.3.0 in |