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 4.0.x up into 4.1.x #6395

Merged
merged 23 commits into from
May 14, 2024
Merged

Merge 4.0.x up into 4.1.x #6395

merged 23 commits into from
May 14, 2024

Conversation

greg0ire
Copy link
Member

No description provided.

greg0ire and others added 23 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: #6370
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.
…6338)

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

#### Summary

Fix #5617, `''` was changed to `'main'`, but one occurence was missed.
|      Q       |   A
|------------- | -----------
| Type         | bug
| Fixed issues | #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.
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.
Merge 3.8.x up into 4.0.x
@greg0ire greg0ire requested a review from derrabus May 14, 2024 14:24
@greg0ire greg0ire merged commit f3b4c93 into 4.1.x May 14, 2024
582 of 593 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.

3 participants