Skip to content

Commit b2a3d58

Browse files
author
Craig L Russell
committed
Enable query with no predicate === table scan
1 parent a4a2216 commit b2a3d58

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

database-jones/test/numerictypes/QueryTableScanTest.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights
2+
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights
33
reserved.
44
55
This program is free software; you can redistribute it and/or
@@ -62,13 +62,12 @@ var q9 = {p1: 7, p2: 2, expected: [0, 1, 8, 9], queryType: 3, ordered: false, pr
6262
return qdt.ttinyint.gt(qdt.param('p1')).orNot((qdt.ttinyint.ge(qdt.param('p2'))));
6363
}};
6464

65-
//// no predicate === no where function
66-
//var q10 = {expected: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], queryType: 3, ordered: false,
67-
// predicate: function(qdt) {
68-
// }};
65+
// no predicate === no where function
66+
var q10 = {expected: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], queryType: 3, ordered: false,
67+
predicate: function(qdt) {
68+
}};
6969

70-
//var queryTests = [q1, q2, q3, q4, q5, q6, q7, q8, q9, q10];
71-
var queryTests = [q1, q2, q3, q4, q5, q6, q7, q8, q9];
70+
var queryTests = [q1, q2, q3, q4, q5, q6, q7, q8, q9, q10];
7271

7372
/***** Build and run queries ***/
7473
var testQueries = new harness.ConcurrentTest("testQueries");

0 commit comments

Comments
 (0)