Navigation Menu

Skip to content

Commit

Permalink
storage test: remove primary key truncated warnings on REPLACE
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 17, 2012
1 parent 8120561 commit 7de773d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Expand Up @@ -30,9 +30,6 @@ REPLACE INTO videos_groonga
SELECT v.id, v.video_id, v.description, NULL
FROM videos_master AS v
WHERE v.video_id = (video_id);
Warnings:
Warning 1265 data truncated for primary key column: <video_id>
Warning 1265 data truncated for primary key column: <video_id>
SELECT *, MATCH(description) AGAINST("my") FROM videos_groonga
WHERE MATCH(description) AGAINST("my");
id video_id description tags_unpack MATCH(description) AGAINST("my")
Expand Down
2 changes: 0 additions & 2 deletions test/sql/suite/mroonga_storage/r/replace_text.result
Expand Up @@ -26,8 +26,6 @@ id content
2 明日の富士山の天気について
3 今日も天気がよくてきれいに見える。
replace into diaries values(2, "明日の天気は雨みたい。");
Warnings:
Warning 1265 data truncated for primary key column: <id>
select * from diaries where match(content) against("天気");
id content
2 明日の天気は雨みたい。
Expand Down
2 changes: 0 additions & 2 deletions test/sql/suite/mroonga_storage/r/replace_varchar.result
Expand Up @@ -26,8 +26,6 @@ id content
2 明日の富士山の天気について
3 今日も天気がよくてきれいに見える。
replace into diaries values(2, "明日の天気は雨みたい。");
Warnings:
Warning 1265 data truncated for primary key column: <id>
select * from diaries where match(content) against("天気");
id content
2 明日の天気は雨みたい。
Expand Down

0 comments on commit 7de773d

Please sign in to comment.