Skip to content

Commit

Permalink
bug fix. add pthread to scaleup app
Browse files Browse the repository at this point in the history
Signed-off-by: gal salomon <[email protected]>
  • Loading branch information
galsalomon66 committed May 24, 2022
1 parent d57a09d commit 0e7e69b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if(Arrow_FOUND)
add_executable(csv_to_parquet csv_to_parquet.cpp)
target_include_directories(csv_to_parquet PUBLIC ../include)
target_link_libraries(s3select_example boost_date_time boost_system boost_thread parquet arrow boost_filesystem)
target_link_libraries(s3select_scaleup boost_date_time boost_system boost_thread parquet arrow boost_filesystem)
target_link_libraries(s3select_scaleup boost_date_time boost_system boost_thread parquet arrow boost_filesystem pthread)
target_link_libraries(csv_to_parquet boost_date_time boost_system boost_thread parquet arrow)
else()
target_link_libraries(s3select_example boost_date_time boost_system boost_thread boost_filesystem)
Expand Down
3 changes: 2 additions & 1 deletion include/s3select.h
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,8 @@ struct s3select : public bsc::grammar<s3select>
e->set_phase_state(phase);
}

get_filter()->set_phase_state(phase);
if(get_filter())
get_filter()->set_phase_state(phase);
}

std::string get_error_description()
Expand Down

0 comments on commit 0e7e69b

Please sign in to comment.