Alexey Milovidov
f5adbceed2
Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2]
2018-06-03 23:39:06 +03:00
Alexey Milovidov
734cebdf09
Non significant changes according to clang's -Weverything, part 1 [#CLICKHOUSE-2]
2018-06-03 19:51:31 +03:00
proller
68ba523b23
Compile and doc fixes ( #2410 )
...
* Try fix travis
* fix
* Fix clickhouse-local shared-split link
* fix
* fix
* fix
* Build fixes
* Fix tinfo
* fix
* tinfo -> termcap
* termcap fix
* Better llvm version detect
* fix
* Debian postinst fix
Tests: use /usr/local if exists
* Compile and doc fixes
* fix
* fix
* fix
* macos fixes
* fix
* wip
* Update demangle.h
* Update demangle.cpp
2018-05-25 21:13:48 +03:00
Alexey Milovidov
13762471da
Changed DayNum_t to DayNum as Amos Bird suggested [#CLICKHOUSE-3]
2018-05-25 16:29:15 +03:00
proller
051395a761
clickhouse-client
: option --ask-password for interactively ask for credentials #1044
2018-05-21 20:27:18 +03:00
Alexey Milovidov
fb91bba279
Miscellaneous [#CLICKHOUSE-2]
2018-05-16 03:34:56 +03:00
proller
eb772b8001
gcc8 fixes (memset, uncaught_exception)
2018-05-08 22:44:54 +03:00
proller
7781492624
Fix user name on distributed queries ( #2292 )
...
* Fix user name on distributed queries
* wip
* fix
2018-05-05 00:21:23 +03:00
proller
c26b3bdef1
Fix split shared build; fix build without system odbc libs ( #2191 )
...
* Fix split shared build
* Fix build without system odbc libs
* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h
* Fix build with libiodbc
2018-04-09 06:52:39 -07:00
Alexey Milovidov
e655cb0bff
Better debug helpers [#CLICKHOUSE-2]
2018-04-06 07:46:18 +03:00
proller
caf83a650e
libs: compiling with msvc2017 ( #1996 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
* Build fixes
* Build fixes
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* add bat
* no zookeeper in dbms
* update boost
* fixes
* fixes
* fix
* fix
* fix
* fix
* try fix
* try fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Better
* fix
* dh verbose
* fix
* dh verbose
* fix
* clean
* Update LocalDate.h
* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
alexey-milovidov
bfc5687410
Update DateLUTImpl.h
2018-03-14 19:19:22 +03:00
Vitaliy Lyudvichenko
56bfb05ebb
Fix insane DateTime in system.parts. [#CLICKHOUSE-3]
2018-03-14 19:00:02 +03:00
Alexey Milovidov
8b59db58c3
Fixed uneven code #2032
2018-03-14 02:44:23 +03:00
Alexey Milovidov
78bceb6e32
Miscellaneous [#CLICKHOUSE-2]
2018-02-28 21:15:53 +03:00
Alexey Milovidov
f36dfe42a5
Miscellaneous [#CLICKHOUSE-2]
2018-02-21 22:35:10 +03:00
Alexey Milovidov
9e1638e1dd
Header in every stream: development [#CLICKHOUSE-2]
2018-02-17 20:09:18 +03:00
proller
db8ea9205c
LibraryDictionarySource: api v2 with strings ( #1915 )
...
* LibraryDictionarySource: Support numeric types, initial support for strings
2018-02-16 20:12:22 +03:00
Alexey Zatelepin
87b72b8e39
rename musl_exp10 -> preciseExp10 for coding style compatibility
2018-02-16 17:51:14 +03:00
Alexey Zatelepin
8fdb68ef79
add musl_ prefix to exp10 functions to avoid confusion with symbols from the system libm
2018-02-16 17:01:50 +03:00
Alexey Milovidov
b9e62ddb2d
Better #1665
2018-01-13 21:01:31 +03:00
proller
70e35d0bcc
Build fixes ( #1718 )
...
* Embedded compiler fixes
* common lib not needed for clang and lld
* Fix pthread link
* Fix shared build
* Arm fixes 1
* arm fix
* Unused fix
* Build fixes
* release --pbuilder
* release pbuilder fix
* FORCE_PBUILDER_CREATE=1 release
* release: Auto use clang with sanitizers
* Fix build without poco data odbc lib. zlib arm build fix.
* Fix freebsd build and build without mysql
* Tests: Dont eat my cpu!
* Test me
2017-12-29 18:48:20 +03:00
proller
7a813002aa
Build fixes
2017-12-28 15:58:39 +03:00
proller
68850012bd
Embedded compiler fixes
2017-12-27 23:07:16 +03:00
Kirill Shvakov
af400da8eb
add toStartOfFifteenMinutes function
2017-12-22 13:04:24 +02:00
Alexey Milovidov
0972d7586a
Added support for toQuarter, toRelativeQuarterNum functions. Enabled toRelativeHour/Minute/Second for Date arguments. Made function 'now' case insensitive. Added function 'dateDiff' that is needed for ODBC driver [#CLICKHOUSE-2].
2017-12-22 04:54:29 +03:00
Alexey Milovidov
74f191dfd3
Introduced intExp functions; using it where appropriate; make them available in SQL [#CLICKHOUSE-3].
2017-12-22 02:46:34 +03:00
Alexey Milovidov
fca5d5f2c7
Use better implementation for exp10 [#CLICKHOUSE-2].
2017-12-22 02:00:32 +03:00
Amos Bird
e7af27c4e0
Better iostream debugger with adl.
...
This patch fixes some issues related to DUMP() debugging. Opening std and
placing all Core related classed inside DB namespace enable proper adl support.
It also adds better sfinae guards to Field constructor which somehow breaks <<
overloads.
2017-12-20 21:44:42 +03:00
Alexey Milovidov
99a19de80e
Translated comment [#CLICKHOUSE-2].
2017-12-19 22:32:13 +03:00
Alexey Milovidov
7dfd3a2c3a
Translated comment [#CLICKHOUSE-2].
2017-12-19 22:30:25 +03:00
Alexey Milovidov
6f7d2b99ea
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 13:14:12 +03:00
Alexey Milovidov
4a51a7bb22
Fixed bad translation [#CLICKHOUSE-2].
2017-12-13 21:42:13 +03:00
Alexey Milovidov
7d04e67262
Merge branch 'write-buffer-from-arena'
2017-12-11 21:25:03 +03:00
Alexey Milovidov
22d90fcc41
Miscellaneous [#CLICKHOUSE-2].
2017-12-11 21:07:08 +03:00
Alexey Milovidov
3b65d95525
Translated comments and by the way made code better [#CLICKHOUSE-2].
2017-12-11 21:05:16 +03:00
Alexey Milovidov
9b81c1ea66
Fixed error with underflow when subtracting months [#CLICKHOUSE-3486].
2017-12-06 07:16:01 +03:00
Alexey Milovidov
4488783072
Better [#CLICKHOUSE-2].
2017-12-02 06:01:41 +03:00
Alexey Milovidov
c748493a86
Better [#CLICKHOUSE-2].
2017-12-02 05:47:12 +03:00
Alexey Milovidov
bdd25b15bd
Better [#CLICKHOUSE-2].
2017-12-01 22:34:51 +03:00
Alexey Milovidov
1a6cb2989b
Better [#CLICKHOUSE-2].
2017-12-01 21:36:55 +03:00
Vitaliy Lyudvichenko
b738d1baed
Add multi index for data_parts storage. And fixed bugs. [#CLICKHOUSE-3452]
...
Fixed handling of obsolete parts.
Fixed conflict resolution between simultaneous PreCommitted covering parts.
Fixed memory leak caused by ordinary MergeTree parts stucked in Deleting state.
Added hidden _state column into system.parts.
2017-11-29 14:25:11 +03:00
Alexey Milovidov
a78871f065
Fixed build [#CLICKHOUSE-2].
2017-11-20 08:55:19 +03:00
Alexey Milovidov
01e8adbfff
Removed "experimental" namespace [#CLICKHOUSE-2].
2017-11-20 07:15:43 +03:00
Alexey Milovidov
f0b60b013b
Little better [#CLICKHOUSE-2].
2017-11-18 02:48:55 +03:00
Alexey Milovidov
655565466c
Merge remote-tracking branch 'origin/master' into better-date-parsing-formatting
2017-11-18 02:45:17 +03:00
proller
fa65bdcf48
Fix realloc on freebsd and macos ( #1494 )
2017-11-16 22:17:09 +03:00
Alexey Milovidov
ee48dea0d3
Attempt to improve performance of formatting Date and DateTime [#CLICKHOUSE-2].
2017-11-16 05:07:19 +03:00
Alexey Milovidov
040b4bd47e
Attempt to improve performance of parsing Dates [#CLICKHOUSE-2].
2017-11-16 01:58:50 +03:00
Alexey Milovidov
60477a9aaa
Enhanced time zones support: the DateTime data type can track time zone [#CLICKHOUSE-3402].
2017-11-09 22:25:21 +03:00
Alexey Milovidov
a9ebc23599
Added comment [#CLICKHOUSE-2].
2017-11-04 23:57:10 +03:00
Alexey Milovidov
4e04c4da5f
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 06:56:31 +03:00
Alexey Milovidov
974a1e4fa5
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 06:56:31 +03:00
Alexey Milovidov
e29604b7f9
Updated test [#CLICKHOUSE-2099].
2017-10-30 09:27:21 +03:00
Alexey Milovidov
5a447fe661
Fixed error [#CLICKHOUSE-3331].
2017-10-30 08:55:22 +03:00
Alexey Milovidov
3571c13e06
Functions for interval arithmetic on DateTime and Date: development, cleanups [#CLICKHOUSE-3331].
2017-10-30 01:55:27 +03:00
Alexey Milovidov
2040fb49fa
Functions for interval arithmetic on DateTime and Date: development, cleanups [#CLICKHOUSE-3331].
2017-10-30 01:51:00 +03:00
Alexey Milovidov
c367d513f0
Functions for interval arithmetic on DateTime and Date: development, cleanups [#CLICKHOUSE-3331].
2017-10-30 01:38:06 +03:00
Alexey Milovidov
9f4a3a5e7c
Functions for interval arithmetic on DateTime and Date: development [#CLICKHOUSE-2].
2017-10-29 09:32:21 +03:00
Alexey Milovidov
9b4f299cee
Functions for interval arithmetic on DateTime and Date: development [#CLICKHOUSE-2].
2017-10-29 07:50:32 +03:00
Alexey Milovidov
7ecc63fe71
Functions for interval arithmetic on DateTime and Date: development [#CLICKHOUSE-2].
2017-10-29 07:18:48 +03:00
Alexey Milovidov
7bdbd71d7c
Additions to prev. revision [#CLICKHOUSE-2099].
2017-10-29 04:13:28 +03:00
Alexey Milovidov
4236bcbfa2
Fixed year 2038 problem. Added support for timezones with fractional offset from UTC. [#CLICKHOUSE-2099] [#CLICKHOUSE-3392].
2017-10-29 03:51:40 +03:00
Alexey Milovidov
f02b63fc39
Simplified build on Mac OS [#CLICKHOUSE-2].
2017-10-29 03:00:32 +03:00
Alexey Milovidov
33f56fc035
Fixed build [#CLICKHOUSE-2].
2017-10-28 06:44:06 +03:00
Alexey Milovidov
9e3daca437
Fixed build [#CLICKHOUSE-2].
2017-10-28 00:36:43 +03:00
alexey-milovidov
3b99b723d7
Merge pull request #1245 from yandex/CLICKHOUSE-3178
...
Atomic parts addition and removing
2017-10-27 23:03:33 +03:00
Vitaliy Lyudvichenko
b5c7eaa80e
Force data parts cleanup before repeat fetch. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
db3a67a421
Add clearer RangeFiltered implementation. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
e2a12d1088
Introduced logic for MergeTree parts states. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Alexey Milovidov
84d966f0d3
Fixed overflow in function toRelativeWeekNum with argument of first week of unix epoch; result values changed by 1 [#CLICKHOUSE-3384].
2017-10-25 21:53:35 +03:00
Alexey Vasiliev
59309432f9
Updated copy/move operations for some types, https://nda.ya.ru/3TWvPE
2017-10-17 14:58:08 +03:00
Alexey Milovidov
10392d5452
Fixed build on Mac OS X [#CLICKHOUSE-2].
2017-10-14 02:12:06 +03:00
proller
49f8080e52
Small debud improvement
2017-10-13 21:44:26 +03:00
Alexey Milovidov
860c19bad3
Refined "GLIBC_COMPATIBILITY" option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
6307661c35
Addition to prev. revision [#CLICKHOUSE-3300].
2017-09-08 00:26:25 +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
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
Nikolai Kochetov
5477e7c1f9
added date and time to number functions [#CLICKHOUSE-3132]
2017-07-21 20:51:08 +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
Alexey Milovidov
a78ee72e50
Whitespaces [#CLICKHOUSE-3132].
2017-07-10 22:30:10 +03: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
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
0743cfe6d7
Removed code that was used solely by Metrika [#DEVTOOLS-3343].
2017-06-15 21:27:51 +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
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
proller
948d9c39cd
Try fix macos build. Add more debug io helpers
2017-04-28 21:57:26 +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
Alexey Milovidov
41e97787e3
Less dependencies [#CLICKHOUSE-2].
2017-04-16 08:40:17 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +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
Alexey Milovidov
02c2bb926f
iostream_debug_helpers: improvement [#CLICKHOUSE-2901].
2017-03-23 22:38:17 +03: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
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 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
proller
293b8b958c
Allow use external re2 with re2_st=re2 ( #547 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
2017-03-07 20:10:04 +04:00
proller
107fb86a40
Support multiplie listen addresses, set listen_host to local only ( #545 )
...
* Support multiplie listen addresses, set listen_host to local only
* set correct default
* better config
* no include
* Update Server.cpp
2017-03-03 04:24:56 +04:00
proller
1491a383d2
iostream_debug_helpers ( #493 )
...
* iostream_debug_helpers
* fixes
* fix
* fix
2017-02-14 23:14:34 +04:00
alexey-milovidov
cee5ab01fb
Merge branch 'master' into merge_with_metrika
2017-02-11 00:27:15 +04:00
proller
b2b16b407f
More include fixes ( #462 )
...
* More include fixes
* fix
2017-02-08 01:26:32 +04:00
Pavel Kartavyy
b61bd0b96b
Merge commit '84e4fb00bd0373058bfc091d2d19a8034df7cc93' into update-clickhouse
...
Conflicts:
metrica/src/ClickHouse/libs/libdaemon/src/BaseDaemon.cpp
2017-02-06 17:57:47 +03:00
Vladimir Chebotarev
817587fb76
libcommon: More unique name for stream. [#METR-24353]
2017-02-02 17:19:13 +03:00
proller
3135ff17b6
Fix compiling utils without readline ( #429 )
...
* Fix compiling utils without readline
* fix
2017-01-31 23:34:30 +04:00
proller
79a7e893c7
system.build_options: move generated data to cpp, dont regenerate every compile ( #423 )
...
* system.build_options: move generated data to cpp, dont regenerate every compile
* Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1
.
* fix
2017-01-31 22:03:56 +04:00
proller
46037bb670
Allow link with jemalloc ( #404 )
...
* Allow link with jemalloc
* wip
* fix
* fix
2017-01-28 00:00:02 +04:00
proller
8b4b1534e3
Cmake: Test on having sse ( #405 )
...
* Cmake: Test on having sse
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* fix
* fix
* fix
* fix
2017-01-27 23:55:33 +04:00
proller
20d6c20a72
Dont throw if setrlimit failed (just print warning), Little build_options fix ( #403 )
...
* Little improve system.build_options
* Dont throw if setrlimit failed (just print warning)
Little build_options fix
2017-01-27 01:46:17 +04:00
proller
a270e9a65f
Little improve system.build_options
2017-01-26 16:15:16 +03:00
proller
e715ddd72a
SELECT * FROM system.build_options [#METR-24175] ( #398 )
...
* start [#METR-24175]
* missing
* wip
* add spaces
* wip
* wip
* fix
* fix
* missing
* style fix
2017-01-26 02:24:36 +04:00
proller
70e641f58a
Fix readline finding on mac; use config for readline vars ( #397 )
...
* Fix readline finding on mac; use config for readline vars
* fix
2017-01-26 00:14:41 +04:00
Alexey Milovidov
c7aaef9e13
Comments [#CLICKHOUSE-2765].
2017-01-22 16:07:57 +03:00
Alexey Milovidov
149d1ead71
Fixed error [#CLICKHOUSE-2765].
2017-01-22 16:04:36 +03:00
Alexey Milovidov
f41480f1cd
More simple time zones implementation [#CLICKHOUSE-2765].
2017-01-22 12:27:51 +03:00
proller
2688f4563f
cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config ( #375 )
...
* Manual version update to [54135]
* Temporary release script fix [#METRIQA-732]
* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
proller
22797da2a6
Move generate version from git tool to source ( #351 )
...
* wip
* fix
* wip
* Auto version update to [54146]
* Auto version update to [54147]
* Auto version update to [54148]
* teeeeest
* Auto version update to [54149]
* wip
* Auto version update to [54154]
* wip
* wip
* wip
2017-01-19 03:28:23 +04:00
proller
c601dacf31
arm64 compile fix
2017-01-13 22:01:45 +03:00
proller
ee3882f251
Allow link with external libs: poco, tcmalloc
2017-01-13 14:25:44 +03:00
Alexey Milovidov
ad6507f9df
Preparation [#METR-23490].
2016-12-27 09:36:53 +03:00
proller
4bc003c4c1
Porting to freebsd: initial, compile ok, most tests ok.
2016-12-24 01:03:10 +00:00
alexey-milovidov
3432f84409
Merge pull request #183 from ztlpn/METR-23447
...
Client uses server timezone for interpreting DateTime strings [#METR-23447]
2016-11-16 05:22:28 +04:00
Alexey Zatelepin
e1bb33cad0
PR fixes:
...
* add forgotten const
* print exception string if switching to server timezone failed
* protocol compatibility with old versions
* use ALWAYS_INLINE in DateLUT.h
2016-11-15 10:24:55 +00:00
Alexey Zatelepin
3a7260e200
[#METR-23447] Client uses server timezone for DateTime string parsing
2016-11-13 19:34:31 +00:00
Vitaliy Lyudvichenko
d952dd39b0
Merged clickhouse-server and clickhouse-local into common app.
2016-11-09 22:05:35 +03:00
Vladimir Chebotarev
e2ceb63c54
libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516]
2016-11-03 15:41:13 +03:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
39f2527012
Fixed memory leak [#METR-2944].
2016-10-23 10:41:26 +03:00
Alexey Milovidov
8b1d686254
Whitespaces [#METR-2944].
2016-10-23 09:58:26 +03:00
Pavel Kartavyy
6b5a029e85
common: remove Test.h. Recommended to use boost_unit_test_framework instead [#METR-22785]
2016-10-04 18:13:52 +03:00
Pavel Kartavyy
43f81352cf
Test: add TestLogInitializer to initialise logger in boost unit test [#METR-22785]
2016-10-04 13:38:52 +03:00
Pavel Kartavyy
b6118b1581
Test::initLogger(): use custom formatter in logging. supports logname, timestamp etc. [#METR-22785]
2016-10-04 12:58:38 +03:00
Yuri Dyachenko
99f91e93ba
renamed: libs/libcommon/include/ext/share_ptr_helper.hpp -> libs/libcommon/include/ext/shared_ptr_helper.hpp
2016-08-30 22:31:50 +03:00
Yuri Dyachenko
81df630c68
fix comment
2016-08-30 22:31:26 +03:00
Yuri Dyachenko
94a2186dde
rename ext::share_ptr_helper -> ext::shared_ptr_helper
2016-08-30 22:27:15 +03:00
Yuri Dyachenko
e5825f790f
use std::enable_shared_from_this for IStorage
2016-08-29 16:28:34 +03:00
alexey-milovidov
9148209bc2
Merge pull request #80 from yandex/metrica-sync2
...
Metrica sync2
2016-08-23 18:18:19 +04:00
Pavel Kartavyy
38102a356c
StrongTypedef: fixed bug with same type. Supported only moved types like unique_ptr
2016-08-23 13:41:08 +03:00
Pavel Kartavyy
8b6a8a133b
dbms: fix build
2016-08-22 17:55:49 +03:00
Alexey Milovidov
453c5e1528
Fixed build [#METR-2807].
2016-08-19 20:03:23 +03:00
Pavel Kartavyy
6e7bb0cd65
Merge branch 'master' into METR-19530
...
Conflicts:
metrica/src/CMakeLists.txt
metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
metrica/src/libs/CMakeLists.txt
metrica/src/libs/liblogbroker-client/src/LogBroker.cpp
metrica/src/libs/liblogbroker-log-import/include/logbroker-log-import/LogBrokerLogImportTask-inl.h
metrica/src/libs/libstatdaemons/include/statdaemons/write_destinations/ClickHouseCluster.h
metrica/src/programs/cleanerd/src/config.xml
metrica/src/programs/deduplicatord/src/Task.cpp
metrica/src/programs/visit-log-processor/src/VisitLogHandler.h
metrica/src/tools/ssqls/templates/header.tpl
2016-08-19 17:15:58 +03:00
Alexey Milovidov
ea734b6bee
Removed compatibility layer with OLAPServer [#METR-2944].
2016-07-30 04:08:00 +03:00
Alexey Milovidov
cb83414021
Addition to prev. revision [#METR-2944].
2016-06-27 11:08:39 +03:00
Alexey Milovidov
93954476bc
Addition to prev. revision [#METR-2944].
2016-06-27 10:47:08 +03:00
Alexey Milovidov
50994f0458
Addition to prev. revision [#METR-2944].
2016-06-27 10:16:36 +03:00
Alexey Milovidov
96805d4c2a
Addition to prev. revision [#METR-2944].
2016-06-27 10:15:48 +03:00
Alexey Milovidov
d578fae595
Addition to prev. revision [#METR-2944].
2016-06-27 10:13:54 +03:00
Alexey Milovidov
67890d185a
Addition to prev. revision [#METR-2944].
2016-06-27 09:52:27 +03:00
Alexey Milovidov
30ce038312
Added option for compatibility with older glibc versions (experimental) [#METR-2944].
2016-06-27 09:34:10 +03:00
Pavel Kartavyy
2435af6e31
MultiVersion: add ctor, set from unique_ptr
2016-06-14 14:45:42 +03:00
Pavel Kartavyy
3122b21a44
StrongTypedef: specialize std::hash
2016-06-14 14:44:32 +03:00
Pavel Kartavyy
69e1a0ab2f
strong_typedef: fix build
2016-06-14 14:44:30 +03:00
Pavel Kartavyy
4e94c68bbb
logbroker-import: add CommitMaker, ZooKeeperState [#METR-19530]
2016-06-14 14:44:26 +03:00
Vladimir Chebotarev
7f942e782c
libcommon: removed pure attribute from JSON [#METR-21516]
2016-06-02 01:43:43 +03:00
Alexey Milovidov
c518abe882
Get rid of Poco::SharedPtr [#METR-21503].
2016-05-28 20:31:50 +03:00
Alexey Milovidov
d4eba7602d
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:26:29 +03:00
Alexey Milovidov
6776cb7dec
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:24:27 +03:00
Alexey Milovidov
0d51b4e3c8
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:21:16 +03:00
Alexey Milovidov
4c7eb03b63
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:35:44 +03:00
Alexey Milovidov
2f2ea2b210
Fixed build [#METR-2807].
2016-03-07 05:40:59 +03:00
Alexey Milovidov
7b9d9631de
Removed few 'possibly lost' and 'still reachable' memory [#METR-2944].
2016-03-04 05:25:04 +03:00
Alexey Milovidov
555440efe2
Fixed build on one version of gcc [#METR-2944].
2016-02-18 14:46:08 +03:00
Alexey Milovidov
ef6ca3e1de
Added SSE 4.2 version of find_first_symbols for long set of symbols [#METR-20078].
2016-02-17 05:39:43 +03:00
Vladimir Chebotarev
e9c486c385
libcommon, ReadHelpers: find_first_symbols [METR-20078]
2016-02-16 19:45:40 +03:00
Vladimir Chebotarev
25cc1376b0
libcommon: make_array_n clarification [METR-19529]
2016-02-12 11:52:48 +03:00
Vladimir Chebotarev
559983f2ea
libcommon: make_array_n [METR-19529]
2016-02-11 20:27:24 +03:00
Alexey Milovidov
89d0eaa9f8
Removed useless file [#METR-20000].
2016-02-10 04:57:30 +03:00
Pavel Kartavyy
eca42536d8
dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon
2016-02-09 20:06:50 +03:00
Alexey Milovidov
563e410b72
Moved threadpool library to contrib [#METR-17973].
2016-02-05 08:07:39 +03:00
Alexey Milovidov
3519c3cea2
dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973].
2016-02-03 04:17:58 +03:00
Alexey Milovidov
015039c2f7
dbms: addition to prev. revision [#METR-17973].
2016-01-15 07:03:45 +03:00
Alexey Milovidov
30b4b1e4a5
dbms: removed dependency of clickhouse-server to statdaemons [#METR-17973].
2016-01-15 06:55:07 +03:00
Alexey Milovidov
2ae6e4ba77
dbms: attempt to fix an error [#METR-19623].
2016-01-14 06:17:11 +03:00
Andrey Mironov
a724d9eb64
ext: add ext::enumerate
2015-11-24 14:28:29 +03:00
Andrey Mironov
2e8cc93664
dbms: ArenaWithFreeLists basic implementation. [#METR-17382]
2015-11-17 19:09:43 +03:00
Andrey Mironov
274ea51f9d
add ext::size
2015-11-17 19:09:42 +03:00
Pavel Kartavyy
a3c99ce30e
ecommerce: getWithDefault returns default type if value has another type [#METR-18657]
2015-11-16 14:54:27 +03:00
Andrey Mironov
ebaf7fd3ba
ext: bit_cast and safe_bit_cast
2015-11-06 17:54:04 +03:00
Andrey Mironov
61691234ca
ext::map: use c++14 return type deduction
2015-10-21 17:54:13 +03:00
Andrey Mironov
4195842841
dbms: add ext::identity and ext::collection_cast, use in ITableDeclaration
2015-10-16 14:44:44 +03:00
Alexey Milovidov
3a5032fd4a
Moved files [#METR-17973].
2015-10-05 03:52:29 +03:00
Alexey Milovidov
fefd3791f1
Moved files [#METR-17973].
2015-10-05 03:33:43 +03:00
Alexey Milovidov
13a45bce25
Addition to prev. revision [#METR-18202].
2015-09-29 22:21:02 +03:00