<!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-11-17 17:19:40 +0900 (Sat, 17 Nov 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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc">19e1bc6d8a5912f293be316d15b18b99b7bff5fc</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">test: use error name instead of error code
1005 ->
ER_CANT_CREATE_TABLE</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#diff-0">test/sql/suite/mroonga/storage/create/table/t/TODO_SPLIT_ME.test</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: test/sql/suite/mroonga/storage/create/table/t/TODO_SPLIT_ME.test (+6 -6)</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L120">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L121">121</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L122">122</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L123">123</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L124">124</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L125">125</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L126">126</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L127">127</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L128">128</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L129">129</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L130">130</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L132">132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L133">133</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L134">134</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L138">138</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L141">141</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L142">142</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L143">143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0L145">145</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R120">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R121">121</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R122">122</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R123">123</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R124">124</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R125">125</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R126">126</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R127">127</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R128">128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R129">129</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R130">130</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R132">132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R133">133</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R137">137</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R141">141</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/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R142">142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R143">143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc#L0R145">145</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">@@ -121,25 +121,25 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">desc t1;</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> drop table t1;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # error</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">---error 1005</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+--error ER_CANT_CREATE_TABLE</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> create table t1 (c1 int, `_score` float) engine = mroonga;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # checking for virtual columns</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">---error 1005</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+--error ER_CANT_CREATE_TABLE</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> create table t1 (c1 int, `_id` text) engine = mroonga;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">---error 1005</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+--error ER_CANT_CREATE_TABLE</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> create table t1 (c1 int, `_id` int, index(`_id`)) engine = mroonga;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # index for _id</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">---error 1005</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+--error ER_CANT_CREATE_TABLE</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> create table t1 (_id int, c1 int, primary key (_id));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> create table t1 (_id int, c1 int, primary key (_id) using hash);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> drop table t1;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">---error 1005</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+--error ER_CANT_CREATE_TABLE</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> create table t1 (_id int, c1 int, unique key (_id));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> create table t1 (_id int, c1 int, unique key (_id) using hash);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> drop table t1;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">---error 1005</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+--error ER_CANT_CREATE_TABLE</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> create table t1 (_id int, c1 int, key (_id));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> create table t1 (_id int, c1 int, key (_id) using hash);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> drop table t1;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>