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

Merge 3.8.x up into 4.0.x #6378

Merged
merged 22 commits into from
May 8, 2024
Merged

Merge 3.8.x up into 4.0.x #6378

merged 22 commits into from
May 8, 2024

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented May 3, 2024

No description provided.

greg0ire and others added 9 commits May 1, 2024 18:00
Otherwise it will just pull the latest one.
Specify the minor version number for MySQL image
In a recent PR, we got reports from CodeCov about several lines not
being covered. After further inspection, I found an error message in the
coverage file upload saying we hit a rate limit.
This will make it more likely we spot such issues in the future.

The PR: doctrine#6370
…odecov

Set fail_ci_if_error flag to true
It is necessary for builds that run on branches that are not from a
fork. Branches from a fork use the tokenless upload.
See https://docs.codecov.com/docs/codecov-uploader#supporting-token-less-uploads-for-forks-of-open-source-repos-using-codecov
|      Q       |   A
|------------- | -----------
| Type         | bug
| Fixed issues | 

#### Summary

Fix invalid SQL generated when table with schema is given. As it was
invalid, this PR is fully BC in sense of the exact generated SQL.
…octrine#6338)

|      Q       |   A
|------------- | -----------
| Type         | bug
| Fixed issues | n/a

#### Summary

Fix doctrine#5617, `''` was changed to `'main'`, but one occurence was missed.
@greg0ire
Copy link
Member Author

greg0ire commented May 3, 2024

I'm not sure how to rewrite the tests from 008a802 for 4.0.x @mvorisek , can you please advise?

@mvorisek
Copy link
Contributor

mvorisek commented May 3, 2024

@greg0ire I can fork your branch and look at it today evening.

mvorisek and others added 4 commits May 3, 2024 14:45
|      Q       |   A
|------------- | -----------
| Type         | bug
| Fixed issues | doctrine#4283

#### Summary


https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-addextendedproperty-transact-sql?view=sql-server-ver15
shows the `sp_addextendedproperty` accepts `sysname` datatype which is
subtype of string datatype and therefore the values must be escaped as
string literal instead of escaped identifier. This is evident also in
the
[examples](https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-addextendedproperty-transact-sql?view=sql-server-ver15#examples).

As the DBAL method arguments accepts possibly escaped identifier, we
unescape it before we escape the argument as string literal.
@mvorisek
Copy link
Contributor

mvorisek commented May 4, 2024

Here is greg0ire#7 PR to your branch with the fixes.

greg0ire added 6 commits May 4, 2024 21:58
Psalm complains about this because it cannot understand this for now,
and I don't think this is a reasonable feature request to do. Instead of
baselining this, let's switch to another implementation, that might be
easier to understand anyway.
@greg0ire greg0ire marked this pull request as ready for review May 4, 2024 20:33
@greg0ire
Copy link
Member Author

greg0ire commented May 5, 2024

This URL seems to be having issues: https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

Not sure that will work 😛

@greg0ire greg0ire merged commit 7300b42 into doctrine:4.0.x May 8, 2024
77 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants