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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0105ab4397efded8d5a3009d09de20d122aaa9f0
      https://github.com/OpenSIPS/opensips/commit/0105ab4397efded8d5a3009d09de20d122aaa9f0
  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!





More information about the Devel mailing list