Remove uses of TRUE/FALSE in mysqli/pdo_mysql

Replace with standard uses of true/false.
This commit is contained in:
Nikita Popov 2021-05-26 15:07:23 +02:00
parent b55793e45b
commit b0961f2d04
9 changed files with 43 additions and 51 deletions

View file

@ -562,7 +562,7 @@ static int pdo_mysql_stmt_fetch(pdo_stmt_t *stmt, enum pdo_fetch_orientation ori
PDO_DBG_ENTER("pdo_mysql_stmt_fetch");
PDO_DBG_INF_FMT("stmt=%p", S->stmt);
if (S->stmt) {
if (FAIL == mysqlnd_stmt_fetch(S->stmt, &fetched_anything) || fetched_anything == FALSE) {
if (FAIL == mysqlnd_stmt_fetch(S->stmt, &fetched_anything) || !fetched_anything) {
pdo_mysql_error_stmt(stmt);
PDO_DBG_RETURN(0);
}