Remove bool from Constraint

This commit is contained in:
Colin Dellow 2018-03-12 20:50:30 -04:00
parent acc15256ec
commit 95748a5192
3 changed files with 0 additions and 11 deletions

View File

@ -395,7 +395,6 @@ static int parquetFilter(
} }
ValueType type = Null; ValueType type = Null;
bool boolValue = false;
int64_t intValue = 0; int64_t intValue = 0;
double doubleValue = 0; double doubleValue = 0;
std::vector<unsigned char> blobValue; std::vector<unsigned char> blobValue;
@ -429,7 +428,6 @@ static int parquetFilter(
indexInfo->aConstraint[i].iColumn, indexInfo->aConstraint[i].iColumn,
constraintOperatorFromSqlite(indexInfo->aConstraint[i].op), constraintOperatorFromSqlite(indexInfo->aConstraint[i].op),
type, type,
boolValue,
intValue, intValue,
doubleValue, doubleValue,
blobValue); blobValue);

View File

@ -4,7 +4,6 @@ Constraint::Constraint(
int column, int column,
ConstraintOperator op, ConstraintOperator op,
ValueType type, ValueType type,
bool boolValue,
int64_t intValue, int64_t intValue,
double doubleValue, double doubleValue,
std::vector<unsigned char> blobValue std::vector<unsigned char> blobValue
@ -12,7 +11,6 @@ Constraint::Constraint(
this->column = column; this->column = column;
this->op = op; this->op = op;
this->type = type; this->type = type;
this->boolValue = boolValue;
this->intValue = intValue; this->intValue = intValue;
this->doubleValue = doubleValue; this->doubleValue = doubleValue;
this->blobValue = blobValue; this->blobValue = blobValue;
@ -30,10 +28,6 @@ ValueType Constraint::getType() {
return type; return type;
} }
bool Constraint::getBool() {
return boolValue;
}
int64_t Constraint::getInt() { int64_t Constraint::getInt() {
return intValue; return intValue;
} }

View File

@ -35,7 +35,6 @@ class Constraint {
ConstraintOperator op; ConstraintOperator op;
ValueType type; ValueType type;
bool boolValue;
int64_t intValue; int64_t intValue;
double doubleValue; double doubleValue;
// Doubles as string value // Doubles as string value
@ -47,7 +46,6 @@ public:
int column, int column,
ConstraintOperator op, ConstraintOperator op,
ValueType type, ValueType type,
bool boolValue,
int64_t intValue, int64_t intValue,
double doubleValue, double doubleValue,
std::vector<unsigned char> blobValue std::vector<unsigned char> blobValue
@ -56,7 +54,6 @@ public:
int getColumn(); int getColumn();
ConstraintOperator getOperator(); ConstraintOperator getOperator();
ValueType getType(); ValueType getType();
bool getBool();
int64_t getInt(); int64_t getInt();
double getDouble(); double getDouble();
std::vector<unsigned char> getBytes(); std::vector<unsigned char> getBytes();