Skip to content

Fix package removal in rollback #22

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 2 commits into from
Mar 7, 2019

Conversation

CherkashinSergey
Copy link
Collaborator

Исправил поведение пакета при rollback-е.

@za-arthur za-arthur self-requested a review March 7, 2019 12:44
if (!dlist_is_empty(changesStack))
if (dlist_is_empty(changesStack))
{
removeObject(object, type);
Copy link
Contributor

Choose a reason for hiding this comment

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

Можешь добавить тест на этот код?
Подробности смотри https://codecov.io/gh/postgrespro/pg_variables/commit/38de97e243262dcca9683864a3f6f1e42efe7edd

@codecov-io
Copy link

codecov-io commented Mar 7, 2019

Codecov Report

Merging #22 into master will increase coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #22      +/-   ##
=========================================
+ Coverage   95.64%   95.7%   +0.05%     
=========================================
  Files           4       4              
  Lines         896     908      +12     
=========================================
+ Hits          857     869      +12     
  Misses         39      39
Impacted Files Coverage Δ
pg_variables.c 95.89% <100%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 89ac2ee...a5209a2. Read the comment docs.

@za-arthur za-arthur merged commit a6948c3 into postgrespro:master Mar 7, 2019
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.

3 participants