[OpenSIPS-Devel] [OpenSIPS/opensips] 59ec83: db_mysql/avpops: Properly return DOUBLE/DECIMAL va...

Liviu Chircu noreply at github.com
Tue Mar 10 17:42:01 EST 2020


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 59ec83a635262a2fb133244f84e72d0f20a8640f
      https://github.com/OpenSIPS/opensips/commit/59ec83a635262a2fb133244f84e72d0f20a8640f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-03-10 (Tue, 10 Mar 2020)

  Changed paths:
    M db/db_query.c
    M modules/avpops/avpops_db.c
    M modules/db_mysql/res.c
    M ut.h

  Log Message:
  -----------
  db_mysql/avpops: Properly return DOUBLE/DECIMAL values

This patch fixes avp_db_query() calls which fetch data from DOUBLE
columns in MySQL, which would otherwise return some strange errors.

Many thanks to Calvin Ellison and Brett Nemeroff for the report and
helping come up with the final fix!

(cherry picked from commit 0105ab4397efded8d5a3009d09de20d122aaa9f0)





More information about the Devel mailing list