Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 6ca129b

Browse files
author
GustavoAngulo
committed
Accidently rollbacked previous changes
1 parent 97a61e1 commit 6ca129b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/optimizer/group.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ GroupExpression *Group::GetBestExpression(
5858
return std::get<1>(it->second);
5959
}
6060
LOG_TRACE("Didn't get best expression with properties %s",
61-
properties.ToString().c_str());
61+
properties->ToString().c_str());
6262
return nullptr;
6363
}
6464

src/optimizer/rule_impls.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,10 @@ void GetToIndexScan::Transform(
260260
value_expr)
261261
->GetValue());
262262
LOG_TRACE("Value Type: %d",
263-
reinterpret_cast<expression::ConstantValueExpression *>(
264-
expr->GetModifiableChild(1))
265-
->GetValueType());
263+
static_cast<int>(
264+
reinterpret_cast<expression::ConstantValueExpression *>(
265+
expr->GetModifiedChild(1))
266+
->GetValueType()));
266267
} else {
267268
value_list.push_back(
268269
type::ValueFactory::GetParameterOffsetValue(
@@ -271,7 +272,7 @@ void GetToIndexScan::Transform(
271272
->GetValueIdx())
272273
.Copy());
273274
LOG_TRACE("Parameter offset: %s",
274-
(*values.rbegin()).GetInfo().c_str());
275+
(*value_list.rbegin()).GetInfo().c_str());
275276
}
276277
}
277278
} // Loop predicates end

0 commit comments

Comments
 (0)