Skip to content

Fix missing closing of JSON nesting for results printing - #21

Merged
elad-ash merged 2 commits into
masterfrom
elad-ash-patch-1
Mar 21, 2017
Merged

elad-ash merged 2 commits into
masterfrom
elad-ash-patch-1

Conversation

@elad-ash

Copy link
Copy Markdown
Contributor

Added if (jsonhandler != NULL){ jsonhandler->close_nesting();} for making sure that Best, Worst and Average results will be brothers in the JSON

Added if (jsonhandler != NULL){ jsonhandler->close_nesting();} for making sure that Best, Worst and Average results will be brothers in the JSON
Comment thread client.cpp
}
if (jsonhandler != NULL){ jsonhandler->close_nesting();}
}
if (jsonhandler != NULL){ jsonhandler->close_nesting();}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add comment:
"This close_nesting closes either:
jsonhandler->open_nesting(header); or
jsonhandler->open_nesting("UNKNOWN STATS");
From the top (beginning of function).

@swilly22 swilly22 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elad-ash
elad-ash merged commit 7c0ed06 into master Mar 21, 2017
fcostaoliveira added a commit that referenced this pull request Jun 2, 2026
…443)

Both were "temporary until #405 lands" guards added by PR #422. PR
#405 (heap-vector fix for split_command_to_args) has been merged for
weeks. The stale defaults meant the very regression path the fuzzer
was built to cover -- multi-MB monitor lines -- was never actually
exercised in the nightly run. Lifting the guards restores the
intended coverage.

Refs: 2.4 review #21 (Review 8).

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants