Skip to content

Commit b4b66fc

Browse files
committed
remove DELETE from tests: it doesnt actually test anything but makes debug harder
1 parent 69a4cdb commit b4b66fc

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 a FROM test_rum WHERE a @@ to_tsquery('pg_catalog.english', 'bar') ORDER BY a;
5757

58-
DELETE FROM test_rum;
59-
60-
SELECT count(*) from test_rum;
61-
6258
CREATE TABLE tst (i int4, t tsvector);
6359
INSERT INTO tst SELECT i%10, to_tsvector('simple', substr(md5(i::text), 1, 1)) FROM generate_series(1,100000) i;
6460
CREATE INDEX tstidx ON tst USING rum (t rum_tsvector_ops);

0 commit comments

Comments
 (0)