8000 Add xact support: bugfix by CherkashinSergey · Pull Request #12 · postgrespro/pg_variables · GitHub
[go: up one dir, main page]

Skip to content

Add xact support: bugfix #12

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 3 commits into from
Aug 6, 2018

Conversation

CherkashinSergey
Copy link
Collaborator

Fixed package rollback and package HTAB naming.

@codecov-io
Copy link

Codecov Report

Merging #12 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   94.28%   94.29%   +<.01%     
==========================================
  Files           4        4              
  Lines         875      876       +1     
==========================================
+ Hits          825      826       +1     
  Misses         50       50
Impacted Files Coverage Δ
pg_variables.c 94.33% <100%> (ø) ⬆️

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 238c1ef...054e746. Read the comment docs.

@@ -1260,7 +1260,7 @@ makePackHTAB(Package *package, bool is_trans)
ALLOCSET_DEFAULT_SIZES);

snprintf(hash_name, BUFSIZ, "%s variables hash for package \"%s\"",
is_trans ? "Transactional" : "Regular", key);
is_trans ? "Transactional" : "Regular", package->transObject.name);
Copy link
Contributor

Choose a reason for hiding this comment

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

Тут можно использовать макрос GetName().

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Вообще да. Я уже и забыл про наличие макросов =)
Закоммитить? Или сам?

Copy link
Contributor

Choose a reason for hiding this comment

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

Закоммитил

@za-arthur za-arthur merged commit ea94f56 into postgrespro:master Aug 6, 2018
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
0