<p>Richard Mudgett <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/8708">View Change</a></p><p>Patch set 4:</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Restore version 3</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Sean Bright are right about mysql.h... But MariaDB started use of<br>MARIADB_PORT definition instead of MYSQL_PORT definition, we will<br>have same problem on fedora tree and others like Corey told.</p><p style="white-space: pre-wrap; word-wrap: break-word;">If don't have MYSQL_PORT and MARIADB_PORT this system don't have<br>mysql client installed.</p><p style="white-space: pre-wrap; word-wrap: break-word;">What you thing about it? See.. I commited better approach, because<br>ignoring MARIADB_PORT definition we may have problem in future.</p></blockquote><ul><li>You can still wind up with MYSQL_PORT undefined and get a compile error. This would be better if you really want to go that route:</li></ul><p style="white-space: pre-wrap; word-wrap: break-word;">#if !defined(MYSQL_PORT)<br>#if defined(MARIADB_PORT)<br>#define MYSQL_PORT MARIADB_PORT<br>#else<br>#define MYSQL_PORT 3306<br>#endif<br>#endif</p><ul><li>You also reverted the commit message corrections I made.</li></ul><ul style="list-style: none; padding-left: 20px;"></ul><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: comment </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: 4 </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>
<div style="display:none"> Gerrit-Comment-Date: Wed, 11 Apr 2018 20:08:52 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>