File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4655,7 +4655,11 @@ static my_ulonglong mariadb_st_internal_execute41(
4655
4655
4656
4656
if (!reconnected && num_params > 0 && !(* has_been_bound ))
4657
4657
{
4658
+ #if !defined(MARIADB_BASE_VERSION ) && MYSQL_VERSION_ID >= 80300
4659
+ if (mysql_stmt_bind_named_param (stmt , bind , num_params , NULL ) == 0 )
4660
+ #else
4658
4661
if (mysql_stmt_bind_param (stmt ,bind ) == 0 )
4662
+ #endif
4659
4663
{
4660
4664
* has_been_bound = TRUE;
4661
4665
}
@@ -4697,7 +4701,11 @@ static my_ulonglong mariadb_st_internal_execute41(
4697
4701
* stmt_ptr = stmt ;
4698
4702
if (num_params > 0 )
4699
4703
{
4704
+ #if !defined(MARIADB_BASE_VERSION ) && MYSQL_VERSION_ID >= 80300
4705
+ if (mysql_stmt_bind_named_param (stmt , bind , num_params , NULL ) == 0 )
4706
+ #else
4700
4707
if (mysql_stmt_bind_param (stmt ,bind ))
4708
+ #endif
4701
4709
goto error ;
4702
4710
* has_been_bound = TRUE;
4703
4711
}
You can’t perform that action at this time.
0 commit comments