Skip to content

Fix index out of bound, refactor part of sqlchain code #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2018

Conversation

leventeliu
Copy link
Contributor

Since blockNode is basically a struct of pointers and some native data types, I simply remove the preallocated blockNode array to prevent any further index fuckup.
Some code refactoring is also introduced in this PR, please review with care.

@codecov
Copy link

codecov bot commented Nov 6, 2018

Codecov Report

Merging #110 into develop will increase coverage by <.01%.
The diff coverage is 72.72%.

@@             Coverage Diff             @@
##           develop     #110      +/-   ##
===========================================
+ Coverage    76.31%   76.32%   +<.01%     
===========================================
  Files          149      149              
  Lines        11976    11981       +5     
===========================================
+ Hits          9140     9144       +4     
- Misses        1892     1893       +1     
  Partials       944      944

Copy link
Contributor

@auxten auxten left a comment

Choose a reason for hiding this comment

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

LGTM, @zeqing-guo

@auxten auxten merged commit bfc2ebd into develop Nov 6, 2018
@auxten auxten deleted the bugfix/sqlchain branch November 6, 2018 13:37
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