<p>Joshua Colp <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18606">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
  George Joseph: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">cel_odbc & res_config_odbc: Add support for SQL_DATETIME field type<br><br>See also: ASTERISK_30023<br><br>ASTERISK-30096 #close<br>patches:<br>  inline on issue - submitted by Morvai Szabolcs<br><br>Change-Id: I79c0b74862100acd9c8319dca5cc456a654d02eb<br>---<br>M cel/cel_odbc.c<br>M res/res_config_odbc.c<br>2 files changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/cel/cel_odbc.c b/cel/cel_odbc.c</span><br><span>index 12f4a06..f73eece 100644</span><br><span>--- a/cel/cel_odbc.c</span><br><span>+++ b/cel/cel_odbc.c</span><br><span>@@ -606,6 +606,7 @@</span><br><span>                                       break;</span><br><span>                               case SQL_TYPE_TIMESTAMP:</span><br><span>                             case SQL_TIMESTAMP:</span><br><span style="color: hsl(120, 100%, 40%);">+                           case SQL_DATETIME:</span><br><span>                                   if (ast_strlen_zero(colptr)) {</span><br><span>                                               continue;</span><br><span>                                    } else {</span><br><span>diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c</span><br><span>index 178a483..b6a878a 100644</span><br><span>--- a/res/res_config_odbc.c</span><br><span>+++ b/res/res_config_odbc.c</span><br><span>@@ -1133,6 +1133,7 @@</span><br><span>                                    break;</span><br><span>                               case SQL_TYPE_TIMESTAMP:</span><br><span>                             case SQL_TIMESTAMP:</span><br><span style="color: hsl(120, 100%, 40%);">+                           case SQL_DATETIME:</span><br><span>                                   if (type != RQ_DATE && type != RQ_DATETIME) {</span><br><span>                                                warn_type(col, type);</span><br><span>                                        }</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18606">change 18606</a>. To unsubscribe, or for help writing mail filters, 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/c/asterisk/+/18606"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I79c0b74862100acd9c8319dca5cc456a654d02eb </div>
<div style="display:none"> Gerrit-Change-Number: 18606 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-CC: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>