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

Liviu Chircu noreply at github.com
Tue Mar 10 17:41:51 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 88288a398bcfeea1b81321c6a8170b4b335bff80
      https://github.com/OpenSIPS/opensips/commit/88288a398bcfeea1b81321c6a8170b4b335bff80
  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