Skip to content

Commit 929b994

Browse files
committed
ext/mysqlnd: remove no-op &= operation
The flags were set to zero right before this operation, so it's impossible for the `&=` to remove any flag.
1 parent 16db9e8 commit 929b994

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ext/mysqlnd/mysqlnd_ps.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,9 +1149,6 @@ MYSQLND_METHOD(mysqlnd_stmt, bind_parameters)(MYSQLND_STMT * const s, MYSQLND_PA
11491149
/* Don't update is_ref, or we will leak during conversion */
11501150
Z_TRY_ADDREF(stmt->param_bind[i].zv);
11511151
stmt->param_bind[i].flags = 0;
1152-
if (stmt->param_bind[i].type == MYSQL_TYPE_LONG_BLOB) {
1153-
stmt->param_bind[i].flags &= ~MYSQLND_PARAM_BIND_BLOB_USED;
1154-
}
11551152
}
11561153
stmt->send_types_to_server = 1;
11571154
} else if (param_bind && param_bind != stmt->param_bind) {

0 commit comments

Comments
 (0)