We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1689d6c commit 1e09751Copy full SHA for 1e09751
ext/mysqli/mysqli_api.c
@@ -2257,13 +2257,13 @@ PHP_FUNCTION(mysqli_stmt_attr_set)
2257
#if MYSQL_VERSION_ID >= 50107
2258
case STMT_ATTR_UPDATE_MAX_LENGTH:
2259
{
2260
- my_bool mode_b;
+ //my_bool mode_b;
2261
if (mode_in != 0 && mode_in != 1) {
2262
zend_argument_value_error(ERROR_ARG_POS(3), "must be 0 or 1 for attribute MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH");
2263
RETURN_THROWS();
2264
}
2265
- mode_b = (my_bool) mode_in;
2266
- mode_p = &mode_b;
+ mode = mode_in;//(my_bool) mode_in;
+ mode_p = &mode;
2267
break;
2268
2269
#endif
0 commit comments