<!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">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2012-05-20 17:11:15 +0900 (Sun, 20 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/170b58f7e5f91f57c22aea7a9831bf864a942feb">170b58f7e5f91f57c22aea7a9831bf864a942feb</a></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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em">Use uint8 instead of uint8_t</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/170b58f7e5f91f57c22aea7a9831bf864a942feb#diff-0">ha_mroonga.cpp</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, "Liberation Mono", 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: ha_mroonga.cpp (+4 -4)</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, "Liberation Mono", 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/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9140">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9141">9141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9142">9142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9143">9143</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/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9144">9144</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9145">9145</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9146">9146</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9147">9147</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/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9148">9148</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9149">9149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9150">9150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9151">9151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9152">9152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9153">9153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9154">9154</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/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9155">9155</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9156">9156</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9157">9157</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9158">9158</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9159">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9160">9160</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9161">9161</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9162">9162</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/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9163">9163</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9164">9164</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9165">9165</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0L9166">9166</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9140">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9141">9141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9142">9142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9143">9143</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9144">9144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9145">9145</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9146">9146</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9147">9147</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9148">9148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9149">9149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9150">9150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9151">9151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9152">9152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9153">9153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9154">9154</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9155">9155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9156">9156</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9157">9157</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9158">9158</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9159">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9160">9160</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9161">9161</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9162">9162</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9163">9163</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9164">9164</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9165">9165</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/170b58f7e5f91f57c22aea7a9831bf864a942feb#L0R9166">9166</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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">@@ -9141,18 +9141,18 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_encode_multiple_column_key(KEY *key_info,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> case TYPE_LONG_LONG_NUMBER:</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (decode)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- *((uint8_t *)(&long_long_value)) ^= 0x80;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ *((uint8 *)(&long_long_value)) ^= 0x80;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_byte_order_host_to_network(current_buffer, &long_long_value,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> data_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!decode)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- *((uint8_t *)(current_buffer)) ^= 0x80;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ *((uint8 *)(current_buffer)) ^= 0x80;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> case TYPE_NUMBER:</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (decode)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Field_num *number_field = (Field_num *)field;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!number_field->unsigned_flag) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- *((uint8_t *)(current_key)) ^= 0x80;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ *((uint8 *)(current_key)) ^= 0x80;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_byte_order_host_to_network(current_buffer, current_key, data_size);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -9160,7 +9160,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_encode_multiple_column_key(KEY *key_info,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Field_num *number_field = (Field_num *)field;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!number_field->unsigned_flag) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- *((uint8_t *)(current_buffer)) ^= 0x80;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ *((uint8 *)(current_buffer)) ^= 0x80;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> break;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>