<!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">IWAI, Masaharu &lt;iwaim****@gmail*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2012-05-09 22:08:36 +0900 (Wed, 09 May 2012)</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/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0">289839ad8b80cac0590fcb64af10e8b44e0fbfa0</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Merge</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li>Merged 28b996c: Merge pull request #1 from iwaim/master</li>
        </ul>
      </dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</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">rpm: change %postun to %preun

%preun is better than %postun with uninstalling mroonga plugin from
MySQL plugins. Because when postun script run, mroonga plugin file
didn't exist.</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/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#diff-0">packages/rpm/centos/mysql-mroonga.spec.in</a></li>
          <li><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#diff-1">packages/rpm/fedora/mysql-mroonga.spec.in</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"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: packages/rpm/centos/mysql-mroonga.spec.in (+1 -1)</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0L134">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0L135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0L136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0L137">137</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0L138">138</a></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/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0L139">139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0L140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0L141">141</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0R134">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0R135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0R136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0R137">137</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0R138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0R139">139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0R140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L0R141">141</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"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -135,7 +135,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">eval $command || \</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">         (echo &quot;run the following command to register mroonga:&quot;; \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">          echo &quot;  $command&quot;)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-%postun</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+%preun</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if [ &quot;$1&quot; = 0 ]; then</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     sql=&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     DROP FUNCTION last_insert_grn_id;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <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"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: packages/rpm/fedora/mysql-mroonga.spec.in (+1 -1)</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1L88">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1L89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1L90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1L91">91</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1L92">92</a></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/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1L93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1L94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1L95">95</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1R88">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1R89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1R90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1R91">91</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1R92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1R93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1R94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/289839ad8b80cac0590fcb64af10e8b44e0fbfa0#L1R95">95</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"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -89,7 +89,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">eval $command || \</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">         (echo &quot;run the following command to register mroonga:&quot;; \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">          echo &quot;  $command&quot;)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-%postun</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+%preun</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if [ &quot;$1&quot; = 0 ]; then</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     sql=&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     DROP FUNCTION last_insert_grn_id;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>