<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">susumu.yata &lt;susum****@gmail*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2015-10-28 19:02:06 +0900 (Wed, 28 Oct 2015)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac">936a560eed554f15842665d923398a58589137ac</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">grn_pat: remove a quick-fix patch

GitHub: <a href="https://github.com/groonga/groonga/issues/420">#420</a>, <a href="https://github.com/groonga/groonga/issues/421">#421</a></pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265f">lib/pat.c</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/pat.c (+0 -5)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1126">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1127">1127</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1128">1128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1129">1129</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1130">1130</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1131">1131</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1132">1132</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1133">1133</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1134">1134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1135">1135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1136">1136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fL1137">1137</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fR1126">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fR1127">1127</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fR1128">1128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fR1129">1129</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fR1130">1130</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fR1131">1131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/936a560eed554f15842665d923398a58589137ac#diff-e8f58132837f95fac7913a81cae2265fR1132">1132</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1127,11 +1127,6 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">_grn_pat_del(grn_ctx *ctx, grn_pat *pat, const char *key, uint32_t key_size, int</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   uint32_t len = key_size * 16;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_id r, otherside, *proot, *p, *p0 = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-  /* FIXME: This is a quick-fix approach. */</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-  if (_grn_pat_get(ctx, pat, key, key_size, NULL) == GRN_ID_NIL) {</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-    return GRN_INVALID_ARGUMENT;</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-  }</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   /* delinfo_new() must be called before searching for rn. */</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   di = delinfo_new(ctx, pat);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   di-&gt;shared = shared;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>