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

Fix condition on Ascii String for SQL Server #6389

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

Yovach
Copy link
Contributor

@Yovach Yovach commented May 6, 2024

Q A
Type bug
Fixed issues #6245

Summary

This MR fixes a condition on SQL Server where fixed is always defined as true or false so return sprintf('VARCHAR(%d)', $length ?? 255); is always ignored.

@greg0ire greg0ire added the Bug label May 6, 2024
@SenseException
Copy link
Member

Thanks for your pull request. Please create a test that covers your fix for SQL Server

SenseException
SenseException previously approved these changes May 21, 2024
@greg0ire greg0ire requested a review from derrabus June 1, 2024 20:42
fixed is always set (to either true or false).
@greg0ire greg0ire force-pushed the fix/condition-varchar-sql-server branch from d4651ec to 04ebb8e Compare June 1, 2024 20:45
derrabus
derrabus previously approved these changes Aug 14, 2024
@derrabus derrabus added this to the 3.9.0 milestone Aug 14, 2024
@derrabus derrabus changed the base branch from 3.8.x to 3.9.x August 14, 2024 10:58
@derrabus derrabus dismissed stale reviews from SenseException and themself August 14, 2024 10:58

The base branch was changed.

@derrabus derrabus merged commit 1f8b3fb into doctrine:3.9.x Aug 14, 2024
92 checks passed
derrabus added a commit to derrabus/dbal that referenced this pull request Aug 14, 2024
* 3.9.x:
  fix doctrine#6198:  stop considering generated column definition as being its default value (doctrine#6199)
  Fix condition on Ascii String for SQL Server (doctrine#6389)
  Add DBTypes that are missing for TypeMapping (doctrine#6463)
derrabus added a commit to derrabus/dbal that referenced this pull request Aug 14, 2024
* 3.9.x:
  fix doctrine#6198:  stop considering generated column definition as being its default value (doctrine#6199)
  Fix condition on Ascii String for SQL Server (doctrine#6389)
  Add DBTypes that are missing for TypeMapping (doctrine#6463)
derrabus added a commit to derrabus/dbal that referenced this pull request Aug 14, 2024
* 3.9.x:
  fix doctrine#6198:  stop considering generated column definition as being its default value (doctrine#6199)
  Fix condition on Ascii String for SQL Server (doctrine#6389)
  Add DBTypes that are missing for TypeMapping (doctrine#6463)
derrabus added a commit that referenced this pull request Aug 15, 2024
* 4.1.x:
  Prepare 3.9.0 and 4.1.0 (#6492)
  Deprecate support for Postgres 10 and 11 (#6495)
  Document the new PostgreSQL120Platform (#6494)
  fix #6198:  stop considering generated column definition as being its default value (#6199)
  Fix condition on Ascii String for SQL Server (#6389)
  Add DBTypes that are missing for TypeMapping (#6463)
@Yovach Yovach deleted the fix/condition-varchar-sql-server branch August 21, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants