File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313import sqlancer .TestOracle ;
1414import sqlancer .sqlite3 .SQLite3Provider .SQLite3GlobalState ;
1515import sqlancer .sqlite3 .queries .SQLite3Fuzzer ;
16- import sqlancer .sqlite3 .queries .SQLite3MetamorphicQuerySynthesizer ;
16+ import sqlancer .sqlite3 .queries .SQLite3NoRECTester ;
1717import sqlancer .sqlite3 .queries .SQLite3PivotedQuerySynthesizer ;
1818import sqlancer .sqlite3 .queries .SQLite3QueryPartitioningAggregateTester ;
1919import sqlancer .sqlite3 .queries .SQLite3QueryPartitioningDistinctTester ;
@@ -68,7 +68,7 @@ public class SQLite3Options {
6868 public boolean testMatch = true ;
6969
7070 @ Parameter (names = "--oracle" , converter = DBMSConverter .class )
71- public SQLite3Oracle oracle = SQLite3Oracle .METAMORPHIC ;
71+ public SQLite3Oracle oracle = SQLite3Oracle .NoREC ;
7272
7373 public enum SQLite3Oracle {
7474 PQS {
@@ -77,10 +77,10 @@ public TestOracle create(SQLite3GlobalState globalState) throws SQLException {
7777 return new SQLite3PivotedQuerySynthesizer (globalState );
7878 }
7979 },
80- METAMORPHIC {
80+ NoREC {
8181 @ Override
8282 public TestOracle create (SQLite3GlobalState globalState ) throws SQLException {
83- return new SQLite3MetamorphicQuerySynthesizer (globalState );
83+ return new SQLite3NoRECTester (globalState );
8484 }
8585 },
8686 FUZZER {
Original file line number Diff line number Diff line change 3333import sqlancer .sqlite3 .schema .SQLite3Schema .SQLite3Table ;
3434import sqlancer .sqlite3 .schema .SQLite3Schema .SQLite3Tables ;
3535
36- public class SQLite3MetamorphicQuerySynthesizer implements TestOracle {
36+ public class SQLite3NoRECTester implements TestOracle {
3737
3838 // SELECT COUNT(*) FROM t0 WHERE <cond>;
3939 // SELECT SUM(count) FROM (SELECT <cond> IS TRUE as count FROM t0);
@@ -54,7 +54,7 @@ public class SQLite3MetamorphicQuerySynthesizer implements TestOracle {
5454 Set <String > firstValues = new HashSet <>();
5555 Set <String > secondValues = new HashSet <>();
5656
57- public SQLite3MetamorphicQuerySynthesizer (SQLite3GlobalState globalState ) {
57+ public SQLite3NoRECTester (SQLite3GlobalState globalState ) {
5858 this .s = globalState .getSchema ();
5959 this .con = globalState .getConnection ();
6060 this .state = (SQLite3StateToReproduce ) globalState .getState ();
You can’t perform that action at this time.
0 commit comments