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 09c6110 commit 67e6b6aCopy full SHA for 67e6b6a
ext/mysqli/mysqli_api.c
@@ -2260,13 +2260,13 @@ PHP_FUNCTION(mysqli_stmt_attr_set)
2260
#if MYSQL_VERSION_ID >= 50107
2261
case STMT_ATTR_UPDATE_MAX_LENGTH:
2262
{
2263
- my_bool mode_b;
+ //my_bool mode_b;
2264
if (mode_in != 0 && mode_in != 1) {
2265
zend_argument_value_error(ERROR_ARG_POS(3), "must be 0 or 1 for attribute MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH");
2266
RETURN_THROWS();
2267
}
2268
- mode_b = (my_bool) mode_in;
2269
- mode_p = &mode_b;
+ mode = mode_in;//(my_bool) mode_in;
+ mode_p = &mode;
2270
break;
2271
2272
#endif
0 commit comments