You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SQL Server platform always generates a fixed length column definition. The code checks if the fixed option is set, rather than if it's true/false. The option is always set, so this test is always false.
The text was updated successfully, but these errors were encountered:
<!-- Fill in the relevant information below to help triage your pull
request. -->
| 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.
dbal/src/Platforms/SQLServerPlatform.php
Line 1292 in 6a793fb
The SQL Server platform always generates a fixed length column definition. The code checks if the fixed option is set, rather than if it's true/false. The option is always set, so this test is always false.
The text was updated successfully, but these errors were encountered: