[OpenSIPS-Devel] [OpenSIPS/opensips] 4ef6ba: db_mysql: Fix regression in PS handling

Adrian Georgescu ag at ag-projects.com
Mon Aug 16 18:21:01 EST 2021


I confirm this patch fixed the issue.

Regards,
Adrian


> On 16 Aug 2021, at 12:37, Liviu Chircu <noreply at github.com> wrote:
> 
>  Branch: refs/heads/master
>  Home:   https://github.com/OpenSIPS/opensips
>  Commit: 4ef6bab4d95d9c23127cad776c126afb0ed77106
>      https://github.com/OpenSIPS/opensips/commit/4ef6bab4d95d9c23127cad776c126afb0ed77106
>  Author: Liviu Chircu <liviu at opensips.org>
>  Date:   2021-08-16 (Mon, 16 Aug 2021)
> 
>  Changed paths:
>    M modules/db_mysql/dbase.c
> 
>  Log Message:
>  -----------
>  db_mysql: Fix regression in PS handling
> 
> Commit 87f241651 introduced a regression in db_mysql where modules using
> prepared statements on top of it would run into errors.
> 
> Example behavior of auth_db on a basic user auth query:
> 
>    ERROR:db_mysql:db_mysql_store_result: driver error:
>        Commands out of sync; you can't run this command now
>    ERROR:auth_db:get_ha1: failed to query database
> 
> Credits to @masudmuborakshohi for the accurate report and logs!
> Fixes #2593
> 
> 
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel




More information about the Devel mailing list