<p>Joshua Colp <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8708">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; 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 00c75dd..c00bc4a 100644<br>--- a/addons/cdr_mysql.c<br>+++ b/addons/cdr_mysql.c<br>@@ -58,6 +58,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/8708">change 8708</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/8708"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </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: 8708 </div>
<div style="display:none"> Gerrit-PatchSet: 6 </div>
<div style="display:none"> Gerrit-Owner: Evandro César Arruda <ecarruda@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.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: Matthew Fredrickson <creslin@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>