@@ -884,8 +884,7 @@ static void test_wl4435() {
884
884
885
885
/* Bind parameters. */
886
886
887
- query_rc = mysql_stmt_bind_named_param(stmt, ps_params,
888
- std::size(ps_params), nullptr);
887
+ query_rc = mysql_stmt_bind_named_param(stmt, ps_params, 3, nullptr);
889
888
check_execute(stmt, query_rc);
890
889
891
890
/* Prevent converting to character_set_results. */
@@ -9878,7 +9877,7 @@ static void test_bug3035() {
9878
9877
rc = mysql_stmt_prepare(stmt, stmt_text, (ulong)strlen(stmt_text));
9879
9878
check_execute(stmt, rc);
9880
9879
9881
- mysql_stmt_bind_named_param(stmt, bind_array, std::size(bind_array) , nullptr);
9880
+ mysql_stmt_bind_named_param(stmt, bind_array, 8 , nullptr);
9882
9881
9883
9882
int8_val = int8_min;
9884
9883
uint8_val = uint8_min;
@@ -10954,7 +10953,7 @@ static void test_view_star() {
10954
10953
rc = mysql_stmt_prepare(stmt, query, (ulong)strlen(query));
10955
10954
check_execute(stmt, rc);
10956
10955
10957
- rc = mysql_stmt_bind_named_param(stmt, my_bind, std::size(my_bind) , nullptr);
10956
+ rc = mysql_stmt_bind_named_param(stmt, my_bind, 2 , nullptr);
10958
10957
check_execute(stmt, rc);
10959
10958
10960
10959
for (i = 0; i < 3; i++) {
0 commit comments