Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b102df9

Browse files
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 83e67d9 commit b102df9

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)

AltStyle によって変換されたページ (->オリジナル) /