Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb4b66fc

Browse files
committed
remove DELETE from tests: it doesnt actually test anything but makes debug harder
1 parent69a4cdb commitb4b66fc

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

‎expected/rum.out

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,6 @@ SELECT a FROM test_rum WHERE a @@ to_tsquery('pg_catalog.english', 'bar') ORDER
156156
'bar':2,8 'foo':1,3,6 'qq':7
157157
(1 row)
158158

159-
DELETE FROM test_rum;
160-
SELECT count(*) from test_rum;
161-
count
162-
-------
163-
0
164-
(1 row)
165-
166159
CREATE TABLE tst (i int4, t tsvector);
167160
INSERT INTO tst SELECT i%10, to_tsvector('simple', substr(md5(i::text), 1, 1)) FROM generate_series(1,100000) i;
168161
CREATE INDEX tstidx ON tst USING rum (t rum_tsvector_ops);

‎sql/rum.sql

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ SELECT count(*) FROM test_rum WHERE a @@ to_tsquery('pg_catalog.english', 'rat')
5555

5656
SELECT aFROM test_rumWHERE a @@ to_tsquery('pg_catalog.english','bar')ORDER BY a;
5757

58-
DELETEFROM test_rum;
59-
60-
SELECTcount(*)from test_rum;
61-
6258
CREATETABLEtst (i int4, t tsvector);
6359
INSERT INTO tstSELECT i%10, to_tsvector('simple', substr(md5(i::text),1,1))FROM generate_series(1,100000) i;
6460
CREATEINDEXtstidxON tst USING rum (t rum_tsvector_ops);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp