Skip to content

Commit 56d920e

Browse files
committed
Drop superflous PDO_STMT_CLEAR_ERR();
1 parent 87c88c8 commit 56d920e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/pdo/pdo_stmt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1749,7 +1749,6 @@ bool pdo_stmt_setup_fetch_mode(pdo_stmt_t *stmt, uint32_t total_num_args, zend_l
17491749
flags = fetch_mode & PDO_FETCH_FLAGS;
17501750

17511751
if (!pdo_stmt_verify_mode(stmt, fetch_mode, mode_arg_num, false)) {
1752-
PDO_STMT_CLEAR_ERR();
17531752
return false;
17541753
}
17551754

0 commit comments

Comments
 (0)