Skip to content

Merge 3.6.x into 4.0.x #5891

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 17 commits into from
Feb 3, 2023
Merged

Merge 3.6.x into 4.0.x #5891

merged 17 commits into from
Feb 3, 2023

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Feb 1, 2023

No description provided.

derrabus and others added 16 commits January 28, 2023 13:20
… to allow apps to override the default schema managers
Use psalm-assert to get rid of `assert()` calls
… to PDO methods

Co-authored-by: kang <[email protected]>
Make sure only PDO parameter types are passed to PDO methods
* 3.5.x:
  Make sure only PDO parameter types are passed
…-factory

Introduce the `SchemaManagerFactory` interface
…r-handling

Raise exception if `pg_send_*()` calls fail
@derrabus derrabus force-pushed the 4.0.x branch 3 times, most recently from 15bce14 to 1124ca5 Compare February 1, 2023 23:37
Comment on lines 46 to 53
public function __destruct()
{
if (isset($this->connection)) {
@pg_close($this->connection);
}

unset($this->connection);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

I had to insert this destructor to avoid a deadlock in our functional test suite. Backported as #5892.

Copy link
Member

Choose a reason for hiding this comment

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

Let's wait for the necessity of unset($this->connection);

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed.

* 3.6.x:
  Optimize pgsql queries without parameters
  Raise exception if pg_send_*() calls fail
  Add the PgSQL driver
  Make sure only PDO parameter types are passed
  [Docs] Add IBM DB2 to `configuration.rst`
  Use psalm-assert to get rid of assert() calls
  Introduce the SchemaManagerFactory interface
@derrabus derrabus merged commit 2e5552e into doctrine:4.0.x Feb 3, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants