Moved SessionPoolHelpers #2180

This commit is contained in:
Alexey Milovidov 2018-04-07 06:07:32 +03:00 committed by proller
parent b7e5f2d2fa
commit aa77d0b304
3 changed files with 10 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#include <DataTypes/DataTypeString.h>
#include <Columns/ColumnString.h>
#include <Common/PocoSessionPoolHelpers.h>
#include <Poco/Ext/SessionPoolHelpers.h>
#include <Poco/Util/AbstractConfiguration.h>
#include <Dictionaries/ODBCDictionarySource.h>
#include <Dictionaries/ODBCBlockInputStream.h>

View File

@ -1,4 +1,4 @@
#include <Common/PocoSessionPoolHelpers.h>
#include <Poco/Ext/SessionPoolHelpers.h>
#include <Storages/transformQueryForExternalDatabase.h>
#include <Storages/StorageODBC.h>
#include <Storages/StorageFactory.h>

View File

@ -1,9 +1,16 @@
add_library (pocoext ${SPLIT_SHARED}
src/LevelFilterChannel.cpp
src/ThreadNumber.cpp
src/SessionPoolHelpers.cpp
include/Poco/Ext/LevelFilterChannel.h
include/Poco/Ext/ThreadNumber.h)
include/Poco/Ext/ThreadNumber.h
include/Poco/Ext/SessionPoolHelpers.h)
if (Poco_Data_FOUND)
target_include_directories (pocoext PRIVATE ${Poco_Data_INCLUDE_DIRS})
target_link_libraries(pocoext ${Poco_Data_LIBRARY})
endif()
target_include_directories (pocoext PUBLIC include PRIVATE ${COMMON_INCLUDE_DIR})