Alexey Milovidov
effbbfd035
Added wrapper [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
ab8ac9c143
Preparation [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
85dfdafaeb
Fixed comment [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
d4d346b8ef
Modified whitespaces [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
7dc2cd91a7
Imported https://github.com/skywind3000/FastMemcpy at a74a33a1fb6d400252ab73e417d12f622dd8fe61 [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Bulat Gaifullin
7405dd5742
Add ssl options for MySQL connection #1217
2017-09-10 08:04:56 +03:00
Alexey Milovidov
e9ae193870
Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301].
2017-09-08 05:29:47 +03:00
Alexey Milovidov
6307661c35
Addition to prev. revision [#CLICKHOUSE-3300].
2017-09-08 00:26:25 +03:00
Alexey Milovidov
8b313ab99e
Fixed warnings found by cppcheck [#CLICKHOUSE-3300].
2017-09-08 00:04:48 +03:00
Alexey Milovidov
76957f77c4
Removed strange empty space [#CLICKHOUSE-2].
2017-09-06 23:02:11 +03:00
proller
f68a0ea63b
Fix mysql includes and remove libmariadb submodule ( #1185 )
...
* Use bundled libmariadbclient (CLICKHOUSE-3261)
* wip
* wip
* wip
* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh
* Fix mysql includes
* Cmake: don't install mariadb targets
* Fix generated includes
* Disable mysql tests
* cmake: mariadb fixes
* Fix
* Update find_mysqlclient.cmake
* Fix zlib
* Remove bundled contrib/mariadb-connector-c
* fix
* Fix build
* Fix includes
2017-09-04 20:04:33 +03:00
proller
1a8e22c37f
Allow compile on 32bit systems ( #1175 )
...
* Trying compile under 32bit..
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* clnag-format of Split ComplexKeyCacheDictionary
* wip
* Requested changes
* wip
* wip
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* wip
* Fix arm build
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* fix
* wip
* wip
* clean
* clean
* wip
* wip
* Update MergeTreeSettings.h
* Requested changes
* Requested changes
* Requested changes
* Requested changes
2017-09-01 20:21:03 +03:00
proller
3269b1da57
libmariadb as submodule (CLICKHOUSE-3261) ( #1181 )
...
* Use bundled libmariadbclient (CLICKHOUSE-3261)
* wip
* wip
* wip
* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh
2017-08-31 20:11:30 +03:00
proller
221110454e
Prefer mariadbclient
2017-08-29 20:32:15 +03:00
Vladimir Chebotarev
87cc80c30e
libdaemon: Moved default graphite config name to constant. [#CHEBOTAREV-14]
2017-08-24 16:37:27 +03:00
Alexey Milovidov
4687a2730d
Allow to override umask in config [#CLICKHOUSE-2].
2017-08-18 04:00:13 +03:00
proller
0490a268f7
Cmake: find_unwind: Fix disable on arm
2017-08-16 21:06:40 +03:00
blazerer
a11759c75b
mysqlxx transaction exception safety
...
Fix terminate on exception and rollback query fail.
2017-08-16 18:30:05 +03:00
alexey-milovidov
9b99dfb53d
Merge pull request #1031 from yandex/wait-for-insertion-in-distributed
...
Wait for insertion in distributed
2017-08-11 21:35:13 +03:00
alexey-milovidov
59e06c9a2c
Update iostream_debug_helpers.h
2017-08-10 06:29:06 +03:00
proller
7937903d56
Improve debug helpers
2017-08-10 06:29:06 +03:00
Vadim Skipin
e6344f9048
Extract handlers to allow reuse
2017-08-10 06:13:15 +03:00
proller
ac178bde1f
Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM ( #1083 )
...
* Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM
* Fix lib find order
* Allow define non-contrib cityhash farmhash metrohash
* Fix message
* Cmake: fixes
* clean
* Update CMakeLists.txt
2017-08-09 23:52:55 +03:00
Nikolai Kochetov
43dc201f49
merged with master
2017-08-08 15:11:49 +03:00
Nikolai Kochetov
ea2b486735
added threadpool to DistributedBlockOutputStream
2017-08-07 23:26:28 +03:00
Alexey Milovidov
b9d12ae234
Translated comments [#CLICKHOUSE-3].
2017-08-05 02:16:43 +03:00
Vitaliy Lyudvichenko
10c14cfccb
Small code enhancements according to clang-tidy. [#CLICKHOUSE-2931]
2017-08-04 17:35:36 +03:00
proller
23263a1acc
Fix apple build
2017-08-03 16:57:47 +03:00
proller
d6833a0d55
Cmake: remove global include_directories ( #1055 )
...
* Fix .h compile
* Cmake: remove global include_directories
* boost include hide
* fix cctz
* add \n
2017-08-03 15:44:39 +03:00
proller
465d305479
gcc7 and arm fixes ( #1041 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* gcc7 fixes
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* Fix arm build
* Fix nothrow
* Better arm detection
2017-07-29 22:58:10 +03:00
Alexey Milovidov
18e5c3bdc7
Miscellaneous [#CLICKHOUSE-2].
2017-07-28 18:28:57 +03:00
alexey-milovidov
3e03bf8e65
Update PoolWithFailover.cpp
2017-07-28 02:28:45 +03:00
Alexey Milovidov
aac6b8ed9f
Fixed error in mysqlxx::PoolWithFailover (failover just doesn't work) [#CLICKHOUSE-3167].
2017-07-28 00:07:41 +03:00
Alexey Milovidov
5bff1e0bfc
Miscellaneous [#CLICKHOUSE-2].
2017-07-27 23:52:14 +03:00
Alexey Milovidov
d08f06ee85
Miscellaneous [#CLICKHOUSE-2].
2017-07-27 23:40:32 +03:00
Alexey Milovidov
c477c7e1cb
Translated comments [#CLICKHOUSE-2].
2017-07-27 23:22:53 +03:00
Alexey Milovidov
9bb647d5d5
Translated comment [#CLICKHOUSE-2].
2017-07-27 22:58:25 +03:00
Nikolai Kochetov
5477e7c1f9
added date and time to number functions [#CLICKHOUSE-3132]
2017-07-21 20:51:08 +03:00
Alexey Zatelepin
874b180adf
don't skip top of the backtrace [#CLICKHOUSE-3094]
2017-07-20 18:23:26 +03:00
Vladimir Chebotarev
dd0905e906
common: Fixed a typo with initialization in YandexAppMainFuncImpl::main(). [#METR-21516]
2017-07-19 22:55:10 +03:00
Vladimir Chebotarev
43a2ff769f
common: Moved part of code from macros. [#METR-21516]
2017-07-19 21:44:57 +03:00
Nikolai Kochetov
116c889b42
translated comments for mysqlxx Connection adn Pool
2017-07-18 17:05:03 +03:00
Nikolai Kochetov
cfdbcb7fde
added mysql socket connection
2017-07-18 17:05:03 +03:00
proller
b172f7a0f1
Cmake: clear test variables with CMakePushCheckState (it will fix macos build issue) ( #992 )
2017-07-17 17:21:43 +03:00
Alexey Milovidov
a78ee72e50
Whitespaces [#CLICKHOUSE-3132].
2017-07-10 22:30:10 +03:00
Георгий Кондратьев
373b91c50d
Fix system libunwind test
...
`unw_init_local_signal` is provided as:
- `_ULx86_64_init_local_signal` in `libunwind`
- `_Ux86_64_init_local_signal` in `libunwind-generic`
`find_library (UNWIND_LIBRARY unwind)` looks for the first library;
`#define UNW_LOCAL_ONLY` before `#include <libunwind.h>` is necessary to select
this variant.
2017-07-10 10:38:56 +00:00
Alexey Milovidov
86eb4d2d06
Renamed Singleton to avoid conflicts with Arcadia* codebase [#DEVTOOLS-3343].
...
* - "Arcadia" is the name of Yandex's monorepo.
2017-07-10 07:34:14 +03:00
proller
4db8d09de9
Reorganize includes. part 1 ( #921 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
* Reorganize includes. part 1
* Update dbms_include.cmake
* Reorganize includes. part 2
* Reorganize includes. part 3
* dbms/src/Common/ThreadPool -> libs/libcommon
* Reorganize includes. part 4
* Fix print_include_directories
* Update thread_creation_latency.cpp
* Update StringRef.h
2017-06-23 23:22:35 +03:00
proller
2d359fee54
Make libunwind optional. Allow use custom libcctz ( #920 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
2017-06-23 17:41:07 +03:00
Alexey Milovidov
d823135d24
Using libunwind for stack trace from signal handler [#CLICKHOUSE-3094].
2017-06-23 08:39:27 +03:00
Alexey Milovidov
b845b181a5
Miscellaneous [#CLICKHOUSE-2].
2017-06-22 22:51:38 +03:00
proller
70d9fb06b4
PerformanceTest: use getMultiple*FromConfig, fix debug helpers ( #915 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
2017-06-22 21:56:40 +03:00
proller
8ef51bf19b
Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers ( #905 )
...
* Fix missing includes
* ComplexKeyCacheDictionary: Move includes to .cpp
* Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers
* Multiplatform memory size getter
* Requested changes
* Requested changes
* Requested changes
* fix
* Requested changes
2017-06-22 18:57:37 +03:00
Liu Cong
57d999eb35
Fix build cause by libs/libcommon/include/ext/bit_cast.h
2017-06-22 17:14:46 +03:00
Alexey Milovidov
8c9aa37318
Removed useless code [#CLICKHOUSE-2].
2017-06-21 20:16:24 +03:00
proller
9c7d30e0df
Fix missing includes
2017-06-20 17:16:51 +03:00
Alexey Milovidov
1b17f6191b
Addition to prev. revision [#DEVTOOLS-3381].
2017-06-19 23:09:11 +03:00
Alexey Milovidov
05accbdcbe
Removed cyclic dependency [#DEVTOOLS-3381].
2017-06-19 23:06:35 +03:00
aprudaev
1cd217ba56
Fix reload configuration memory leak ( #892 )
...
* On reload remove previous configuration from LayeredConfiguration.
* fix build
2017-06-19 16:31:55 +03:00
Alexey Milovidov
0743cfe6d7
Removed code that was used solely by Metrika [#DEVTOOLS-3343].
2017-06-15 21:27:51 +03:00
alexey-milovidov
a669136ac2
Merge branch 'master' into CLICKHOUSE-5
2017-06-13 07:30:36 +03:00
Alexey Milovidov
3ddea6b260
Removed useless code [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
ea9c8dcaf7
Removed useless code [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
ea27922764
Fixed build [#CLICKHOUSE-2].
2017-06-07 04:48:22 +03:00
Alexey Milovidov
0d7d379b44
Removed duplicate code [#CLICKHOUSE-2].
2017-06-06 21:36:13 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Alexey Milovidov
6bd016f380
Found some .hpp files and changed tabs to spaces inside [#CLICKHOUSE-2].
2017-06-06 20:10:04 +03:00
Vitaliy Lyudvichenko
9fd8d6b79f
Add ALTER queries. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
proller
948d9c39cd
Try fix macos build. Add more debug io helpers
2017-04-28 21:57:26 +03:00
proller
bcb230ebc6
Fix incudes, move code from daemon/OwnPatternFormatter.h
2017-04-27 08:40:27 +03:00
proller
cd4a5c040c
More debug io helpers: some types from dbms ( #725 )
...
* release: import options from jenkins script
* correct chdir
* limit parallel build threads
* VERSION_POSTFIX
* add postfix
* support BUILD_TYPE
* Removed unused.
* Fixed error [#CLICKHOUSE-2960].
* Fix version incrementing
* Fix message
* Fix build without icu and readline
* More io helpers: some types from dbms
* Requested changes
2017-04-26 05:50:03 +03:00
proller
9d3a936056
add missing cmake for zookeeper-clizookeeper-cli
2017-04-19 19:17:08 +03:00
alexey-milovidov
35abae95c8
Allow to disable ICU ( #711 )
...
* Allow to disable ICU [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 04:06:29 +03:00
alexey-milovidov
c9c8c8ec50
Better option to disable mysqlclient ( #710 )
...
* Better support for disabling libmysqlclient [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:25:57 +03:00
proller
b6884133b3
Rename zkutil-test -> clickhouse-zookeeper-cli [#CLICKHOUSE-2947]
2017-04-17 19:58:13 +03:00
Alexey Milovidov
41e97787e3
Less dependencies [#CLICKHOUSE-2].
2017-04-16 08:40:17 +03:00
proller
5db73c5d31
Allow build without libmysqlclient ( #698 )
...
* Allow build without libmysqlclient
* better condition
* cmake option ENABLE_MYSQL
* fix formatting
* Update find_mysqlclient.cmake
* Update find_mysqlclient.cmake
* Update Types.h
* Better throw's
2017-04-14 22:38:56 +03:00
proller
72ccc69212
Debian: simpler package ( #662 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
* move files from tools/etc to debian
* dont generate control
* version
* ok.
* wip
* Cmake: dont touch CMAKE_INSTALL_PREFIX
* wip
* works!
* clean
* okay
* like old
* wip
* wip
* okay
* clickhouse-server-base-dbg
* clean
* clickhouse-server-dbg
* Debian: Remove daemons
* Update rules
* add source/format
* control clean
* add watch
* clean
* clean
* temp fix build
* clean
* docs
* fake make_control
* fix
* testme
* testme
* add metrika package
* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
09e3134bf4
Revert "Using C++17 [#CLICKHOUSE-3]."
...
This reverts commit 431a735efe
.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8
Using C++17 [#CLICKHOUSE-3].
2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0
Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//'
2017-03-31 19:00:30 +03:00
proller
68c02c73fa
Use zookeeper default port 2181 if not specified
2017-03-28 20:50:58 +03:00
Vitaliy Lyudvichenko
2ab25099cd
Move boost::tests to Google Tests. [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
Alexey Milovidov
02c2bb926f
iostream_debug_helpers: improvement [#CLICKHOUSE-2901].
2017-03-23 22:38:17 +03:00
Alexey Zatelepin
1ce0300c51
better detection of local timezone id [#CLICKHOUSE-2852]
2017-03-23 20:13:04 +04:00
proller
670e98fa92
allow several <graphite> targets ( #603 )
...
* allow several <graphite> targets
* fix
* fix
* Adjustable parts
* changelog version
* fix
* changelog
* Style fixes
* attachSystemTables
* config describe
* fixes
* fixes
2017-03-21 23:08:09 +04:00
proller
d98c95ddcd
fix build
2017-03-20 22:18:10 +03:00
Alexey Zatelepin
fccbc82c24
translate comments
2017-03-19 21:58:12 +04:00
Alexey Zatelepin
faadab3034
Allow including config elements from ZooKeeper [#CLICKHOUSE-2794]
2017-03-19 21:58:12 +04:00
egatov
2c12df495c
Metr 24491 ( #606 )
...
* fixed external biuld [#METR-24491].
* fix [#METR-24491].
* Update CMakeLists.txt
2017-03-16 22:27:23 +03:00
proller
5b8ed657f9
fix build ( #602 )
...
* fix build
* fix freebsd
2017-03-16 18:04:05 +03:00
proller
930ac5b2ce
move ClickHouseRevision to dbms
2017-03-16 13:51:41 +04:00
proller
28ed324702
add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs
2017-03-16 13:51:41 +04:00
Alexey Zatelepin
98a866ee5b
split a single large SET_WATCHES message into multiple smaller ones [#CLICKHOUSE-2101]
...
See https://issues.apache.org/jira/browse/ZOOKEEPER-706 for details.
2017-03-15 23:44:24 +04:00
robot-metrika-test
c2c5128638
Auto version update to [54182]
2017-03-15 17:06:03 +03:00
Alexey Milovidov
b35bc57fdc
Addition to prev. revision [#CLICKHOUSE-2].
2017-03-13 22:35:46 +03:00
Alexey Milovidov
1c6c751108
Better overloads [#CLICKHOUSE-2].
2017-03-13 22:23:56 +03:00
proller
b6e01cd47e
Fix isolated usage of all .h files, move some code to .cpp ( #578 )
...
* split ColumnAggregateFunction.h
* format
* Allow use re2_st without cmake
* use std type in find_first_symbols.h
* fix ArrayEvaluator.h
* include fixes
* split ColumnConstAggregateFunction.h
* fix StorageMaterializedView.h
* split AddingDefaultBlockOutputStream.h
* move CSVRowInputStream::updateDiagnosticInfo to .cpp
* split ParserEnumElement.h
* format
* split DB/Parsers/ParserUseQuery.h
* clean
2017-03-11 04:27:59 +04:00