Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-gorm/gorm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.25.11
Choose a base ref
...
head repository: go-gorm/gorm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.25.12
Choose a head ref
  • 2 commits
  • 5 files changed
  • 4 contributors

Commits on Aug 22, 2024

  1. fix memory leaks in PrepareStatementDB (#7142)

    * fix memory leaks in PrepareStatementDB
    
    * Fix CR:
    1) Fix potential Segmentation Fault in Reset function
    2) Setting db.Stmts to nil map when Close to avoid further using
    
    * Add Test:
    1) TestPreparedStmtConcurrentReset
    2) TestPreparedStmtConcurrentClose
    
    * Fix test, create new connection to keep away from other tests
    
    ---------
    
    Co-authored-by: Zehui Chen <[email protected]>
    ivila and Zehui Chen authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    0dbfda5 View commit details
    Browse the repository at this point in the history
  2. fix: AfterQuery using safer right trim while clearing from clause's j…

    …oin added as part of #7027 (#7153)
    
    Co-authored-by: Abhijeet Bhowmik <[email protected]>
    bhowmik-abhijeet and Abhijeet Bhowmik authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    0daaf17 View commit details
    Browse the repository at this point in the history
Loading