<p>Tzafrir Cohen <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/7928">View Change</a></p><p>Patch set 1:</p><p style="white-space: pre-wrap; word-wrap: break-word;">Looks like I'll need a separate change to move checking the basic configuration settings before setting the globals. I'll post some new review requests soon.</p><p>(1 comment)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/7928/1/addons/cdr_mysql.c">File addons/cdr_mysql.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/7928/1/addons/cdr_mysql.c@622">Patch Set #1, Line 622:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> res |= my_load_config_string(cfg, "global", "hostname", &hostname, "localhost");<br> res |= my_load_config_string(cfg, "global", "dbname", &dbname, "astriskcdrdb");<br> res |= my_load_config_string(cfg, "global", "user", &dbuser, "root");<br> res |= my_load_config_string(cfg, "global", "sock", &dbsock, "");<br> res |= my_load_config_string(cfg, "global", "table", &dbtable, "cdr");<br> res |= my_load_config_string(cfg, "global", "password", &password, "");<br><br> res |= my_load_config_string(cfg, "global", "charset", &dbcharset, "");<br><br> res |= my_load_config_string(cfg, "global", "ssl_ca", &ssl_ca, "");<br> res |= my_load_config_string(cfg, "global", "ssl_cert", &ssl_cert, "");<br> res |= my_load_config_string(cfg, "global", "ssl_key", &ssl_key, "");<br><br> res |= my_load_config_number(cfg, "global", "port", &dbport, MYSQL_PORT);<br> res |= my_load_config_number(cfg, "global", "timeout", &timeout, 0);<br> res |= my_load_config_string(cfg, "global", "compat", &compat, "no");<br> res |= my_load_config_string(cfg, "global", "cdrzone", &cdrzone, "");<br></pre></blockquote></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">If you do end up keeping the config reload stuff and you call this on recon</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">cdr_mysql has problems. I'm not going to fix all of them in this single fix. Certainly not as all of my changes end up squashed in a single commit. This bug is a different issue.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Anyway, I don't want to call reload from the new code, as mentioned above.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/7928">change 7928</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/7928"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I7603c7501dae7070fac35081cf35161579c47590 </div>
<div style="display:none"> Gerrit-Change-Number: 7928 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Tzafrir Cohen <tzafrir.cohen@xorcom.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Matthew Fredrickson <creslin@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Tzafrir Cohen <tzafrir.cohen@xorcom.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 21 Feb 2018 18:00:03 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>