<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8767">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">cdr_mysql: Compile error because MYSQL_PORT definition is missing<br><br>If it is not defined, it will add MYSQL_PORT definition. After some<br>research on MySQL/MariaDB development tree, I couldn't find any reference<br>to MYSQL_PORT definition in include files.<br><br>ASTERISK-27782 #close<br><br>Change-Id: Ieee56c836fc2e8bd021c456145bba04c6068bb77<br>---<br>M addons/cdr_mysql.c<br>1 file changed, 8 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/addons/cdr_mysql.c b/addons/cdr_mysql.c<br>index 53ea923..d72ee09 100644<br>--- a/addons/cdr_mysql.c<br>+++ b/addons/cdr_mysql.c<br>@@ -60,6 +60,14 @@<br> <br> #define DATE_FORMAT "%Y-%m-%d %T"<br> <br>+#ifndef MYSQL_PORT<br>+# ifdef MARIADB_PORT<br>+# define MYSQL_PORT MARIADB_PORT<br>+# else<br>+# define MYSQL_PORT 3306<br>+# endif<br>+#endif<br>+<br> AST_THREADSTORAGE(sql1_buf);<br> AST_THREADSTORAGE(sql2_buf);<br> AST_THREADSTORAGE(escape_buf);<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8767">change 8767</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8767"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: Ieee56c836fc2e8bd021c456145bba04c6068bb77 </div>
<div style="display:none"> Gerrit-Change-Number: 8767 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Evandro César Arruda <ecarruda@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Evandro César Arruda <ecarruda@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>