Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.

Fix PostgreSQL boolean handling for PHP 8.0.5 #299

Merged
merged 2 commits into from
May 1, 2021
Merged

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Apr 30, 2021

related with php/php-src#6801 and PHP 8.0.5 release

@mvorisek mvorisek force-pushed the fix_pgsql_test branch 2 times, most recently from 22fd43e to 66e9170 Compare April 30, 2021 11:32
@mvorisek mvorisek changed the title Fix PostgreSQL boolean Fix PostgreSQL boolean handling for PHP 8.0.5 Apr 30, 2021
@mvorisek mvorisek added the RTM label Apr 30, 2021
@mvorisek mvorisek marked this pull request as ready for review April 30, 2021 11:39
$type = \PDO::PARAM_STR;
$val = $val ? '1' : '0';
} else {
$type = \PDO::PARAM_INT;
Copy link
Member Author

Choose a reason for hiding this comment

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

At least Oracle does not support PARAM_BOOL with col = false in where condition.

@mvorisek
Copy link
Member Author

mvorisek commented May 1, 2021

@georgehristov please approve

@mvorisek mvorisek merged commit 61b17b1 into develop May 1, 2021
@mvorisek mvorisek deleted the fix_pgsql_test branch May 1, 2021 12:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

2 participants