Skip to content

Commit 29c1f12

Browse files
authored
Merge pull request #74 from qsliu2017/fix
fix cast type
2 parents 1dc0eff + d4ee6a3 commit 29c1f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mysql_filter_pushdown.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ string MySQLFilterPushdown::TransformFilter(string &column_name, TableFilter &fi
5151
return CreateExpression(column_name, conjunction_filter.child_filters, "AND");
5252
}
5353
case TableFilterType::CONJUNCTION_OR: {
54-
auto &conjunction_filter = filter.Cast<ConjunctionAndFilter>();
54+
auto &conjunction_filter = filter.Cast<ConjunctionOrFilter>();
5555
return CreateExpression(column_name, conjunction_filter.child_filters, "OR");
5656
}
5757
case TableFilterType::CONSTANT_COMPARISON: {

0 commit comments

Comments
 (0)