Skip to content
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

[MM-56178] Fix failure to update call post (MySQL) #591

Merged
merged 1 commit into from
Dec 12, 2023
Merged

Conversation

streamer45
Copy link
Collaborator

Summary

Looks like MySQL needs a special no-op mapper function in order to correctly translate columns into struct fields.

I wish we could add a test for this but we need some work to make proper integrations tests that run against both db engines. I'll take care of it though.

For now I manually tested this on both db drivers and it's looking good.

Ticket Link

https://mattermost.atlassian.net/browse/MM-56178

@streamer45 streamer45 added the 2: Dev Review Requires review by a core committer label Dec 12, 2023
@streamer45 streamer45 added this to the v0.22.1 milestone Dec 12, 2023
@streamer45 streamer45 requested a review from cpoile December 12, 2023 17:28
@streamer45 streamer45 self-assigned this Dec 12, 2023
@codecov-commenter
Copy link

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (cfb7487) 5.96% compared to head (dcba9ce) 5.96%.

Files Patch % Lines
server/store.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main    #591      +/-   ##
========================================
- Coverage   5.96%   5.96%   -0.01%     
========================================
  Files         26      26              
  Lines       5181    5182       +1     
========================================
  Hits         309     309              
- Misses      4848    4849       +1     
  Partials      24      24              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@cpoile cpoile left a comment

Choose a reason for hiding this comment

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

Thank you

@streamer45 streamer45 added 3: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Dec 12, 2023
@streamer45 streamer45 merged commit 470367a into main Dec 12, 2023
@streamer45 streamer45 deleted the MM-56178 branch December 12, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants