dbms: Cleanup [#METR-19266]

This commit is contained in:
Alexey Arno 2016-08-05 13:32:41 +03:00
parent 98b5fde211
commit 1802f8d299

View File

@ -97,11 +97,11 @@ void FunctionIsNotNull::executeImpl(Block & block, const ColumnNumbers & argumen
{ {
ColumnWithTypeAndName temp_res; ColumnWithTypeAndName temp_res;
temp_res.type = std::make_shared<DataTypeUInt8>(); temp_res.type = std::make_shared<DataTypeUInt8>();
temp_res.name = "isNull(" + block.getByPosition(arguments[0]).name + ")";
size_t temp_res_num = block.columns();
block.insert(temp_res); block.insert(temp_res);
size_t temp_res_num = block.columns() - 1;
FunctionIsNull{}.executeImpl(block, arguments, temp_res_num); FunctionIsNull{}.executeImpl(block, arguments, temp_res_num);
FunctionNot{}.executeImpl(block, {temp_res_num}, result); FunctionNot{}.executeImpl(block, {temp_res_num}, result);