[asterisk-bugs] [JIRA] (ASTERISK-27782) cdr_mysql: Missing MYSQL_PORT definition
Evandro César Arruda (JIRA)
noreply at issues.asterisk.org
Thu Mar 29 09:00:51 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242879#comment-242879 ]
Evandro César Arruda edited comment on ASTERISK-27782 at 3/29/18 8:59 AM:
--------------------------------------------------------------------------
Hello Joshua,
I tested on Debian 9.3 with MariaDB Server version 10.2.14+maria~stretch and same version of MariaDB client with libmysqlclient18 and libmariadb-dev 10.2.10+maria~stretch.
I tried to search on google, git hub and others about any reference to MYSQL_PORT definition and i didn't find it on Mysql/MariaDB project.
Yes i want to going to code review process if my report is ok.
was (Author: ecarruda):
Hello Joshua,
I tested on Debian 9.3 with MariaDB Server version 10.2.14+maria~stretch and same version of MariaDB client with libmysqlclient18 libmariadb-dev 10.2.10+maria~stretch.
I tried to search on google, git hub and others about any reference to MYSQL_PORT definition and i didn't find it on Mysql/MariaDB project.
Yes i want to going to code review process if my report is ok.
> cdr_mysql: Missing MYSQL_PORT definition
> ----------------------------------------
>
> Key: ASTERISK-27782
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27782
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Addons/cdr_mysql
> Affects Versions: 15.3.0
> Reporter: Evandro César Arruda
> Assignee: Unassigned
> Severity: Minor
> Labels: patch
> Attachments: asterisk_addon_mysql.patch
>
>
> Missing MYSQL_PORT define instead of 0 changed on ASTERISK-27366.
> [CC] cdr_mysql.c -> cdr_mysql.o
> cdr_mysql.c: In function ‘my_load_module’:
> cdr_mysql.c:504:63: error: ‘MYSQL_PORT’ undeclared (first use in this function)
> res |= my_load_config_number(cfg, "global", "port", &dbport, MYSQL_PORT);
> ^~~~~~~~~~
> cdr_mysql.c:504:63: note: each undeclared identifier is reported only once for each function it appears in
> /opt/install/asterisk/asterisk-15.3.0/Makefile.rules:149: recipe for target 'cdr_mysql.o' failed
> I searched in Asterisk directory and I checked on mysql.h included, booth not have any reference to MYSQL_PORT definition.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list