Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
Amos Bird
df5b735894
Better writeInt
2019-01-01 19:36:50 +08:00
alesapin
34e4f8e0c1
Move docker images to 18.10 and add compatibility file for glibc >= 2.28
2018-12-29 13:10:35 +03:00
Alexey Milovidov
2fb94dabae
Merge branch 'master' of github.com:yandex/ClickHouse into libcxx-as-submodule
2018-12-29 01:55:44 +03:00
Alexey Milovidov
3c82dd8809
Fixed exception safety of ThreadPool constructor [#CLICKHOUSE-4113]
2018-12-28 20:15:42 +03:00
Alexey Milovidov
4c3b16390a
Preparations for MSan [#CLICKHOUSE-2]
2018-12-28 08:08:44 +03:00
Alexey Milovidov
130b427ff7
Using libcxx as a submodule [#CLICKHOUSE-2]
2018-12-28 06:24:03 +03:00
Alexey Milovidov
701dfd83bf
Addition to prev. revision #3926
2018-12-27 03:02:38 +03:00
Alexey Milovidov
2e323192a2
Addition to prev. revision #3926
2018-12-27 03:02:11 +03:00
Alexey Milovidov
732f60c8be
Allowed some UB under UBSan #3926
2018-12-27 02:55:09 +03:00
Alexey Milovidov
0d03fa8573
Fixed error #3924
2018-12-27 00:13:21 +03:00
Alexey Milovidov
14e1dfa0ea
Fixed UB #3926
2018-12-26 08:11:53 +03:00
Alexey Milovidov
ee953b4653
Fixed UB (requires performance testing) #3569
2018-12-26 03:31:51 +03:00
alexey-milovidov
add2c0a6fc
Merge branch 'master' into int-round-overflow
2018-12-24 15:50:13 +03:00
Alexey Milovidov
4f9630fd03
Fixed error #3913
2018-12-24 05:57:22 +03:00
Alexey Milovidov
80f155cfda
Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2]
2018-12-24 02:12:30 +03:00
Alexey Milovidov
344d610ef0
DateLUT: simpler, safer and more efficient [#CLICKHOUSE-2]
2018-12-24 00:45:28 +03:00
Alexey Milovidov
8367c99720
DateLUT: simpler, safer and more efficient [#CLICKHOUSE-2]
2018-12-24 00:38:19 +03:00
Alexey Milovidov
86c2d0f329
Fixed buffer overflow in function addDays [#CLICKHOUSE-2]
2018-12-23 23:01:17 +03:00
alexey-milovidov
f85857d8ff
Merge pull request #3826 from yandex/missing-sql-compatibility-functions
...
Additional functions for SQL compatibility
2018-12-20 20:51:05 +03:00
proller
c63ca042ba
Fix macos build ( #3861 )
2018-12-18 16:37:00 +03:00
Ivan Blinkov
362948e891
Introduce quarter interval kind as 3 months (in preparation for #3705 )
2018-12-18 16:16:48 +03:00
alexey-milovidov
9eca78e764
Merge pull request #3819 from yandex/fix-tehran-time
...
Fix daylight saving time conversion if it was at midnight and clock was adjusted backwards.
2018-12-13 00:06:50 +03:00
Alexey Milovidov
bc165e4504
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-13 00:05:56 +03:00
alesapin
282b303a1c
Link libglibc-compatibility to dbms at last position ( #3816 )
...
* Link libglibc-compatibility to dbms at last position
* Don't replace getrandom if it doesn't exists in libc
2018-12-12 15:51:40 +03:00
Alexey Milovidov
8b7a71d6c6
Attempt to fix #3220
2018-12-12 13:08:53 +03:00
Alexey Milovidov
43d922cc37
Fix for Tehran time #3220
2018-12-11 22:13:44 +03:00
alexey-milovidov
84d617c50e
Merge pull request #3808 from yandex/add_getrandom_from_musl
...
Add getrandom from musl
2018-12-10 22:32:34 +03:00
Alexey Milovidov
ae1b748bdf
Fixed global variable buffer read overflow [#CLICKHOUSE-4191]
2018-12-10 21:18:50 +03:00
alesapin
182adf1e40
Spaces instead of tab
2018-12-10 21:17:35 +03:00
alesapin
ca9d6d83b5
Add getrandom.c from musl
2018-12-10 21:16:15 +03:00
alexey-milovidov
acb4feef26
Merge pull request #3760 from yandex/fix-database-ordinary-load-table-deadlock
...
Fix database ordinary load table deadlock
2018-12-07 07:13:58 +03:00
alexey-milovidov
7030b9be00
Update ThreadPool.h
2018-12-07 07:13:50 +03:00
proller
61328a2c9b
ARM build fixes ( #3754 )
2018-12-05 16:41:29 +03:00
Nikolai Kochetov
c6ad3a7189
Fix deadlock in DatabaseOrdinary in case of exception while loading tables.
2018-12-05 15:50:23 +03:00
Nikolai Kochetov
715d120ed9
Fix deadlock in DatabaseOrdinary in case of exception while loading tables.
2018-12-05 15:46:32 +03:00
proller
2221638ade
Fix presence of both libc++ and -static-libstdc++ link flags ( #3706 )
...
* Fix precence of both libc++ and -static-libstdc++ link flags
* cmake: NO_WERROR for ARCH_ARM
* Try fix test link
* revert
* Update CMakeLists.txt
2018-12-01 01:30:34 +03:00
Alexey Milovidov
f59bf174d7
Fixed build of "widechar_width" library on ARM [#CLICKHOUSE-2]
2018-11-30 16:37:36 +03:00
proller
f1791e94e2
Do not write preprocessed configs to /etc/ ( #2443 )
2018-11-27 19:11:46 +03:00
Alexey Milovidov
141e9799e4
Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2]
2018-11-25 03:08:50 +03:00
alexey-milovidov
2c2d75cceb
Don't allow exceptions without code ( #3645 )
...
* Don't allow exceptions without code #3633
* Don't allow exceptions without code #3633
2018-11-23 00:19:58 +03:00
Alexey Milovidov
ab5d76fc42
Fixed error introduced in #3553 and prevent it happening
2018-11-21 23:56:37 +03:00
proller
1d40c2c871
Better link and deps ( #3631 )
...
* try fix 1
* Better deps
* fix
* fix
* fix
* Update CMakeLists.txt
* Update CMakeLists.txt
* fix
* fix
* fix
* disable old
* Update find_odbc.cmake
2018-11-21 22:20:27 +03:00
Alexey Milovidov
06187e9a98
Comments [#CLICKHOUSE-2]
2018-11-21 20:27:13 +03:00
proller
5678d1ed98
Build fixes ( #3545 )
...
* StorageSystemContributors clean
* Fix
* ARM fixes
* Fix arm compile
* fix
* Fix macos?
* Fix includes
* fix
* fix
* Try fix apple build part 1
* Fix identation
* Fix static libc++ in clang
* fix arm build
* better
* fix
* fix
* better check-include
2018-11-10 23:09:07 +03:00
alexey-milovidov
b1db9ec23c
Merge pull request #3436 from amosbird/master
...
Flexible fields assignment
2018-11-01 20:22:28 +03:00
proller
f86d1a7034
CONTRIB-254 Arcadia fixes ( #3475 )
...
* Macos: set ENABLE_EMBEDDED_COMPILER=0 by default (because contrib/llvm temporary broken under macos)
* \n
* arcadia fix
* fix arcadia link
* wip
* wip
* wip
* fix
* wip
* wip
* fix
* try use users from server dir
* Revert "try use users from server dir"
This reverts commit 79b2c6fd9c
.
* Fix logging
* fix
* Update ZooKeeperImpl.h
2018-11-01 20:07:20 +03:00
proller
71403c3ff8
StorageSystemContributors.sh debug ( #3491 )
...
* Sql fuzzy test
* wip
* wip
* wip
* wip
* wip
* Build fixes
* better
* bugs
* wip
* fix
* Fix test
* build fixes
* better
* wip
* fix test
* StorageSystemContributors.sh debug
* debug
* wip
* more
* Fix jemalloc include
* more
2018-11-01 17:07:14 +03:00
abyss7
d538f70679
Fix build and tests on Fedora ( #3496 )
...
* Fix some tests and build on Fedora 28
* Update contrib/ssl
* Try `sudo` first, then without `sudo`.
2018-10-30 17:05:44 +03:00
Amos Bird
3cf2177268
Flexible fields assignment
...
Field f;
before:
f = Int64(-42);
after:
f = -42;
2018-10-24 08:47:33 +08:00
Amos Bird
dc8b3a7791
Fix build without jemalloc
...
```
libs/libglibc-compatibility/libglibc-compatibility.a(glibc-compatibility.c.o): In function `explicit_bzero':
/home/amos/git/chorigin/build-dev/../libs/libglibc-compatibility/glibc-compatibility.c:151: multiple definition of `explicit_bzero'
contrib/ssl/crypto/libcrypto.a(explicit_bzero.c.o):/home/amos/git/chorigin/build-dev/../contrib/ssl/crypto/compat/explicit_bzero.c:16: first defined here
collect2: error: ld returned 1 exit status
```
2018-10-22 23:34:15 +08:00
avsharapov
11da23f153
Fix typo in readme
2018-10-13 15:28:08 +03:00
alexey-milovidov
147a2a13c2
Merge pull request #3257 from amosbird/master
...
Correct wcwidth computation for pretty outputs.
2018-10-02 16:23:41 +03:00
Amos Bird
7df73088ab
Correct wcwidth computation for pretty outputs.
2018-10-02 10:06:18 +08:00
proller
49bb0652a8
enable_local_infile
2018-10-01 19:01:09 +03:00
proller
ca03cd6606
Sync with arcadia
2018-10-01 18:43:48 +03:00
proller
ec11bef633
Build fixes ( #3181 )
2018-09-28 17:53:20 +03:00
Alexey Milovidov
5c386ea3cd
Always write query_id field in log #3203
2018-09-24 21:44:40 +03:00
cekc
76c79929c3
fix typo in BaseDaemon doc
...
daemon has --errorlog-file cmd option, not --error-file
2018-09-21 16:42:32 +03:00
Alexey Milovidov
5e3b507bd6
Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988]
2018-09-17 06:09:56 +03:00
Alexey Milovidov
55bc0bb46b
Added function "toDayOfYear" [#CLICKHOUSE-3716]
2018-09-17 04:27:34 +03:00
Alexey Milovidov
adb0f65bee
Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988]
2018-09-17 04:00:55 +03:00
Alexey Milovidov
4cf73d607c
Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988]
2018-09-17 03:42:39 +03:00
alexey-milovidov
13406d876c
Merge pull request #3130 from yandex/fix-dependency-on-new-libc
...
Fix dependency on too new libc
2018-09-16 05:24:09 +03:00
proller
d752d5d62d
Prepare to new poco, build fixes ( #3072 )
...
* WIp
* fix
* fix
* test
* fix poco netssl find
* clean
* fixes
* wip
* wip
* new poco
* fixes
* Fixes
* wip
* clean
* clean
* clean
* clean
* Update HTTPHandlerFactory.h
2018-09-14 22:48:51 +03:00
Alexey Milovidov
38534bba80
Removed GLIBC_2.10 [#CLICKHOUSE-3989]
2018-09-14 05:48:24 +03:00
Alexey Milovidov
7c675aac45
Addition to prev. revision [#CLICKHOUSE-3989]
2018-09-14 05:11:54 +03:00
Alexey Milovidov
c155564235
Addition to prev. revision [#CLICKHOUSE-3989]
2018-09-14 05:08:24 +03:00
Alexey Milovidov
20ffe8a70c
More simple [#CLICKHOUSE-3989]
2018-09-14 05:00:40 +03:00
Alexey Milovidov
17f91c3949
More simple [#CLICKHOUSE-3989]
2018-09-14 04:59:05 +03:00
Alexey Milovidov
db0c854026
More simple [#CLICKHOUSE-3989]
2018-09-14 04:56:56 +03:00
Alexey Milovidov
dbf3ccdcb8
More simple [#CLICKHOUSE-3989]
2018-09-14 04:53:50 +03:00
Alexey Milovidov
3342b422a3
Fixed build [#CLICKHOUSE-3989]
2018-09-14 04:48:56 +03:00
Alexey Milovidov
b2faf857bb
Renamed README.md to .txt [#CLICKHOUSE-3989]
2018-09-14 03:03:28 +03:00
Alexey Milovidov
4308f3e3a2
Added more info in README [#CLICKHOUSE-3989]
2018-09-14 03:00:51 +03:00
Alexey Milovidov
53d816f23f
Added dummy implementation of __cxa_thread_atexit_impl [#CLICKHOUSE-3989]
2018-09-14 03:00:24 +03:00
Alexey Milovidov
83021c7dc7
Removed usage of __cxa_thread_atexit_impl [#CLICKHOUSE-3989]
2018-09-14 02:58:55 +03:00
Alexey Milovidov
48effe6711
Added dummy implementation [#CLICKHOUSE-3989]
2018-09-14 02:57:26 +03:00
Alexey Milovidov
9cf705e00e
Added license and readme [#CLICKHOUSE-3989]
2018-09-14 02:42:57 +03:00
Alexey Milovidov
29a99229af
Imported some files from libcxx and libcxxabi; https://github.com/llvm-project/llvm-project-20170507 ; commit ad82e63b9719923cb393bd805730eaca0e3632a8 [#CLICKHOUSE-3989]
2018-09-14 02:40:33 +03:00
Amos Bird
af369483a9
Simply Self.
...
> When the normal name of the template (i.e., the name from the enclosing scope, not the injected-class-name) is used, it always refers to the class template itself and not a specialization of the template
http://eel.is/c++draft/temp.local
2018-09-13 22:59:54 +08:00
proller
d2ad686556
Try fix macos server run ( #3102 )
2018-09-11 20:48:25 +03:00
proller
db13ef96d6
Fix ssl init ( #3056 )
...
* Try to fix ../libs/libglibc-compatibility/glibc-compatibility.c:151: multiple definition of `explicit_bzero'
contrib/ssl/crypto/libcrypto.a(explicit_bzero.c.o):../contrib/ssl/crypto/compat/explicit_bzero.c:16: first defined here
* Fix ssl init
* fix
* noncopyable
* clean
2018-09-06 21:05:33 +03:00
alexey-milovidov
72c799ad76
Merge pull request #3008 from 4ertus2/decimal
...
even more Decimal
2018-09-03 07:19:33 +03:00
Alexey Milovidov
f7107f12b4
Merge branch 'master' into extra-warnings
2018-09-02 03:13:36 +03:00
Alexey Milovidov
8cf76fb6a4
Fixed error in UBSan [#CLICKHOUSE-2]
2018-09-01 23:39:37 +03:00
Alexey Milovidov
2bdb5b9fdf
Fixed error in UBSan [#CLICKHOUSE-2]
2018-09-01 23:21:43 +03:00
alexey-milovidov
a05cdfbb45
Merge branch 'master' into extra-warnings
2018-08-31 03:03:44 +03:00
proller
de2b740db7
USE_INTERNAL_CONSISTENT_HASHING_LIBRARY
2018-08-30 22:07:24 +03:00
proller
48766c1c2d
split libconsistent-hashing
2018-08-30 21:44:46 +03:00
proller
4529f33457
Fix clickhouse-test-server
...
rename /var/log/clickhouse-server/stderr to stderr.log and stdout to stdout.log
2018-08-29 21:48:14 +03:00
chertus
29d8d07975
decimal improvements [CLICKHOUSE-3765]
2018-08-29 21:47:19 +03:00
Alexey Milovidov
17b89d7dc7
Simplified terminate handler [#CLICKHOUSE-2]
2018-08-29 21:35:46 +03:00
proller
e30d93a0f2
Better debug helpers ( #2983 )
...
* Better debug helpers
* fix
2018-08-29 03:03:07 +03:00
Alexey Milovidov
486d87ebcd
Merge remote-tracking branch 'origin/master' into extra-warnings
2018-08-27 20:01:33 +03:00
alexey-milovidov
95b2bcbc6b
Merge pull request #2970 from 4ertus2/decimal
...
Some more Decimal
2018-08-27 19:59:26 +03:00
Alexey Milovidov
e5a2dd8624
Merge branch 'master' into extra-warnings
2018-08-27 19:19:04 +03:00
chertus
ee873c8e9f
Merge branch 'master' into decimal
2018-08-27 19:18:48 +03:00
Alexey Milovidov
00774ad8c6
Suggested changes by Amos Bird #2954
2018-08-27 18:27:23 +03:00
proller
3acce3bff9
Build fix ( #2944 )
...
* Build fix
* Better sample build scripts
* zlib apple fix
* fix
* fix
* better so version
* SPLIT_SHARED -> LINK_MODE
* clean
2018-08-27 17:39:20 +03:00
Alexey Milovidov
595bd32f41
Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2]
2018-08-26 04:41:08 +03:00
Alexey Milovidov
29a6a85ccf
Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2]
2018-08-26 04:31:12 +03:00
Alexey Milovidov
e6e1ff4284
Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2]
2018-08-26 04:30:13 +03:00
Alexey Milovidov
74b0d9b6a7
Little better; added comment #2954
2018-08-26 02:59:53 +03:00
Amos Bird
9623e59870
Simplify read helpers.
...
Use similar APIs like https://en.cppreference.com/w/cpp/string/byte/strstr
2018-08-26 01:27:28 +08:00
chertus
2e65f4922f
extract overflow funcs to arithmeticOverflow.h CLICKHOUSE-3906
2018-08-24 17:20:23 +03:00
proller
6622b6947a
wip
2018-08-22 02:57:59 +03:00
proller
3a00be1aab
fix
2018-08-21 21:35:47 +03:00
proller
fc2925b567
Squashed commit of the following:
...
commit 2722e540abfee4a527d716474c4ca582eceeee08
Merge: b4f3af824 aebddd550
Author: proller <proller@github.com>
Date: Tue Aug 21 18:34:18 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit b4f3af824b88a8b6826583bb483730827574e8ad
Author: proller <proller@github.com>
Date: Tue Aug 21 17:00:20 2018 +0300
fix
commit 3a18fa7ded2a7d6b7a0883a1b9c2d6b99360837d
Author: proller <proller@github.com>
Date: Tue Aug 21 16:57:17 2018 +0300
fix
commit 5d42220c2cf47e1a86bdc73dbfc24b68f8626891
Author: proller <proller@github.com>
Date: Tue Aug 21 16:50:21 2018 +0300
freebsd fixes
commit 7baf4fb5ba4575f79b0d12a9ffaaabd34e1006da
Author: proller <proller@github.com>
Date: Tue Aug 21 16:17:19 2018 +0300
fix
commit e1fe707fd765b841a8d0952d91a980128cbf91d0
Author: proller <proller@github.com>
Date: Tue Aug 21 15:35:21 2018 +0300
fix
commit 027887c71b3ffa98d9473d50d8c3b79cbf3304ac
Author: proller <proller@github.com>
Date: Tue Aug 21 15:25:57 2018 +0300
fix
commit 81af41bfcfff7c02fe4060196cf03c2d2aab416e
Author: proller <proller@github.com>
Date: Tue Aug 21 15:20:41 2018 +0300
fix
commit 93d572c85d9c7e331254999a614c3b22b5573b02
Author: proller <proller@github.com>
Date: Tue Aug 21 14:58:07 2018 +0300
SPLIT_SHARED
commit dd5b8990d8527d59b1e890943d80c2bf27c613ce
Author: proller <proller@github.com>
Date: Tue Aug 21 14:52:39 2018 +0300
fix
commit 4840ca12ab752a38c1ef482e8ec59c5859bb48d7
Author: proller <proller@github.com>
Date: Tue Aug 21 14:46:31 2018 +0300
fix
commit abde633beb86f2a0d025d6fcf079965dbd827b92
Author: proller <proller@github.com>
Date: Tue Aug 21 14:25:32 2018 +0300
fix
commit 0d94a5476a5ba8ba5e88638d58f2cfbf2b4b662d
Author: proller <proller@github.com>
Date: Tue Aug 21 14:45:18 2018 +0300
Travis: try fail on ninja fail
commit c2686f90b68255c2beb0a708804aef404e80a6d2
Merge: 2c3427bbd 2aa7eb463
Author: proller <proller@github.com>
Date: Tue Aug 21 14:25:15 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 2c3427bbdb861edbb188ed4621e8a05cafaedafb
Author: proller <proller@github.com>
Date: Mon Aug 20 23:57:24 2018 +0300
fix
commit 530170c6a81d31dcfa81230e48520383234df4bc
Merge: 9abec162c f6e4ec970
Author: proller <proller@github.com>
Date: Mon Aug 20 23:57:03 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 9abec162cb2e09bbc2f33cbe80fe76791f6e5a77
Author: proller <proller@github.com>
Date: Mon Aug 20 23:49:58 2018 +0300
Apple fixes
commit 36d05e8217440fbc8ae21571b06d4eb6d679d538
Author: proller <proller@github.com>
Date: Mon Aug 20 23:25:05 2018 +0300
apple fix
commit aeec3e845e4456e89fbb1b1af6f9f36820a46e33
Author: proller <proller@github.com>
Date: Mon Aug 20 23:20:06 2018 +0300
fixes
commit 427961d916a5954981e47d94733996deb2a616ce
Author: proller <proller@github.com>
Date: Mon Aug 20 23:11:11 2018 +0300
fix
commit a7dd55ff8f653624c0f3dbcbc54defd3b3ae97af
Author: proller <proller@github.com>
Date: Mon Aug 20 22:41:53 2018 +0300
fix
commit 6200e0d315c7a62bae63a8de0fc32f7937770ad2
Merge: 8a541d7e6 21cedbe46
Author: proller <proller@github.com>
Date: Mon Aug 20 22:35:49 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 8a541d7e64c89e2c16af6c909e0353361153aaa3
Author: proller <proller@github.com>
Date: Mon Aug 20 22:34:32 2018 +0300
Do not use poco types
commit fd560f43d048b7e3307c6c6b9c9d9918230014d8
Author: proller <proller@github.com>
Date: Mon Aug 20 22:20:42 2018 +0300
Try fix apple build
commit cfb2eba07ac06f19e822d3474341d800b1f98cf1
Merge: 8d2e31c90 5b81fdfc0
Author: proller <proller@github.com>
Date: Mon Aug 20 22:03:24 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 8d2e31c908be2e99d09e2a9dde2414ab82a5e93c
Author: proller <proller@github.com>
Date: Mon Aug 20 21:56:06 2018 +0300
travis: TEST_SERVER_STARTUP_WAIT=10
2018-08-21 18:56:50 +03:00
Alexey Milovidov
bcbcbcdbb1
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-21 02:22:30 +03:00
Alexey Milovidov
8ca2eed716
Miscellaneous [#CLICKHOUSE-2].
2018-08-21 02:16:50 +03:00
Alexey Milovidov
328c1387c0
Removed Poco::NumberFormatter [#CLICKHOUSE-2]
2018-08-20 22:35:04 +03:00
Alexey Milovidov
47ea011f27
Changed the license of "pocoext" code (it is actually Yandex property) #2890
2018-08-20 01:54:13 +03:00
Alexey Milovidov
ef5d08532a
Removed bad code #2864
2018-08-19 06:25:38 +03:00
Alexey Milovidov
acb99b49df
Merge branch 'master' into CLICKHOUSE-2910
2018-08-14 23:29:42 +03:00
alesapin
942d9a5fee
Merge branch 'master' into master
2018-08-14 17:09:27 +03:00
proller
a2343890dd
Build fixes ( #2864 )
...
* Try fix internal compiler headers path
* Build fixes
* fix
* wip
* clean
* Update arch.cmake
2018-08-14 16:31:26 +03:00
alesapin
6fe3f0b13c
Merge remote-tracking branch 'upstream/master'
2018-08-13 12:36:27 +03:00
alexey-milovidov
f538bd2113
Merge branch 'master' into decimal
2018-08-13 11:57:42 +03:00
Alexey Milovidov
45cb92506b
mysqlxx: fixed memory leak [#CLICKHOUSE-2]
2018-08-13 09:16:58 +03:00
alesapin
53b23e0113
CLICKHOUSE-3878: Add inherited fd's closing function
2018-08-12 15:23:22 +03:00
alesapin
cd9a016f62
CLICKHOUSE-3878: Fix merge conflict
2018-08-10 14:43:20 +03:00
Alexey Milovidov
36db216abf
Preparation for extra warnings [#CLICKHOUSE-2]
2018-08-10 07:02:56 +03:00
alesapin
1bedb971d0
Merge fixes
2018-08-08 19:54:09 +03:00
chertus
16ad0caf37
move int exp from decimal scale to libcommon
2018-08-08 13:56:24 +03:00
Alexey Milovidov
bdf2e826ce
Addition to prev. revision [#CLICKHOUSE-2]
2018-08-08 08:54:45 +03:00
Alexey Milovidov
22fc1fcd54
Better way to enable sanitizers in CMake [#CLICKHOUSE-2]
2018-08-08 07:14:53 +03:00
Alexey Milovidov
0e557b47fa
Better way to enable sanitizers in CMake [#CLICKHOUSE-2]
2018-08-08 07:14:53 +03:00
alesapin
dd01eb6b40
CLICKHOUSE-3878: Add odbc-bridge first version
2018-08-07 20:57:44 +03:00
Alexey Milovidov
d852d5806b
Removed dependency [#CLICKHOUSE-2]
2018-08-06 03:19:33 +03:00
Alexey Milovidov
cc6d959ef0
Removed dependency [#CLICKHOUSE-2]
2018-08-06 02:59:18 +03:00
Alexey Milovidov
cf7c090fcb
Removed dependency [#CLICKHOUSE-2]
2018-08-06 02:47:31 +03:00
Alexey Milovidov
e523f9a2c8
Fixed names [#CLICKHOUSE-2]
2018-08-05 11:54:57 +03:00
Alexey Milovidov
1b1754e598
Fixed build #2794
2018-08-04 00:13:54 +03:00
proller
010350a088
Build fixes ( #2794 )
...
* More information in 'Cannot read all data' errors
* Build fixes
* Apple version fix
* Fix
* clean
* New libs fixes
* Freebsd fixes
* macos fix
* Fix macos build
* fix
* fix
* Update CMakeLists.txt
* freebsd fix
* fix
* Update CMakeLists.txt
2018-08-03 19:39:04 +03:00
alexey-milovidov
25cc323d1d
Using mariadb-connector-c from submodule. ( #2785 )
...
* Using internal mariadb-client library [#CLICKHOUSE-2]
* Using internal mariadb-client library [#CLICKHOUSE-2]
* Using internal mariadb-client library [#CLICKHOUSE-2]
* Using internal mariadb-client library [#CLICKHOUSE-2]
* Using internal mariadb-client library [#CLICKHOUSE-2]
2018-08-02 03:49:31 +03:00
alexey-milovidov
9cd5228df2
Using jemalloc instead of tcmalloc. ( #2773 )
...
* Added jemalloc as submodule [#CLICKHOUSE-2]
* Imported jemalloc-cmake [#CLICKHOUSE-2]
* Added README for jemalloc-cmake [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
2018-08-02 03:20:20 +03:00
proller
f88f68db09
Macos: fix include for mysql, use mariadb-connector-c in docs ( #2717 )
...
* Macos: fix mysql link
* Macos: Fix mysql include
* doc
2018-07-25 18:27:31 +03:00
proller
61059c3d9a
Macos: allow build with mariadb-connector-c ( #2715 )
...
* Try fix version generate
* Macos: allow build with mariadb-connector-c
2018-07-25 14:29:26 +03:00
proller
f477942c66
Cmake: test for liblld
2018-07-21 03:11:56 +03:00
proller
7be750afe9
Apple build fixes
2018-07-20 20:21:03 +03:00
Alexey Milovidov
c8f5443257
Registered test [#CLICKHOUSE-2]
2018-07-18 22:39:42 +03:00
Alexey Milovidov
9c8f4d86c1
Fixed build [#CLICKHOUSE-2]
2018-07-18 22:04:01 +03:00
Alexey Milovidov
10e97374a4
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-18 21:57:07 +03:00
Alexey Milovidov
dabbad9e42
Fixed build [#CLICKHOUSE-2]
2018-07-18 20:20:35 +03:00
Alexey Milovidov
0ead1facb7
Added test [#CLICKHOUSE-2]
2018-07-18 20:12:12 +03:00
Alexey Milovidov
d6cd502cc0
Fixed error with LocalDateTime [#CLICKHOUSE-2]
2018-07-18 20:02:47 +03:00
proller
c7848d2062
CLICKHOUSE-3771: Fixes
2018-07-17 21:22:32 +03:00
Alexey Milovidov
e86f73e465
Fixed half of bad code #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
f00f9d1f9a
Merge branch 'master' into CLICKHOUSE-2910
2018-07-04 16:29:58 +03:00
Alexey Milovidov
158742831e
Little better #2482
2018-07-04 16:29:31 +03:00
Alexey Milovidov
33205bba92
Disabled "LOAD DATA LOCAL INFILE" in mysql client because it has security issues [#CLOUDSECURITY-58]
2018-06-29 21:06:07 +03:00
Alexey Milovidov
5d00a23f47
Leave thread number in log in a consistent place #2482
2018-06-28 23:04:13 +03:00
alexey-milovidov
3904ba561f
Merge branch 'master' into CLICKHOUSE-2910
2018-06-28 20:47:25 +03:00
proller
e1ae5233df
Add // Y_IGNORE tags
2018-06-21 18:24:36 +03:00
Vitaliy Lyudvichenko
358e4ae9bf
Fixed failures in utils, more precise test. [#CLICKHOUSE-2910]
2018-06-20 18:41:15 +03:00
Vitaliy Lyudvichenko
310bb4116e
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-19 23:33:11 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes ( #2488 )
...
CONTRIB-254
2018-06-19 21:09:09 +03:00
Alexey Milovidov
16565bf111
Fixed build [#CLICKHOUSE-2]
2018-06-19 00:15:35 +03:00
Alexey Milovidov
8eda273b02
Fixed build [#CLICKHOUSE-2]
2018-06-19 00:14:17 +03:00
Vitaliy Lyudvichenko
392f6e0c6c
Print query_id in logs. Add own logging interface. [#CLICKHOUSE-2910]
2018-06-18 16:41:13 +03:00
Alexey Milovidov
a107f113f1
CI scripts: added support for yum #2520
2018-06-18 05:32:49 +03:00
Vitaliy Lyudvichenko
4cd230f85c
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-14 16:04:00 +03:00
Георгий Кондратьев
e9a0272f56
Search for mysqlclient in mysql subdirectories of default locations
2018-06-11 09:02:12 +00:00
Vitaliy Lyudvichenko
ac54e52fb3
Add server logs passing to client. [#CLICKHOUSE-2910]
2018-06-07 20:58:50 +03:00
proller
347579ce46
Cmake: mark system includes as SYSTEM ( #1449 )
...
* contrib: cctz as submodule. update cctz.
* pbuilder: add ubuntu bionic, devel
* Cmake: mark system includes as SYSTEM
* Build fixes
* fix
* Fix package without compiler
* Better
* fix
* fix
* fix
* Build fix
* fix
* fix
* fix
* Cmake: Add SYSTEM to includes for external libs
2018-06-06 23:21:58 +03:00
Alexey Milovidov
d811647668
Suppressions for PVS-Studio [#CLICKHOUSE-3]
2018-06-04 18:28:25 +03:00
Alexey Milovidov
7c80743c86
Non significant change: removed unused constructor [#CLICKHOUSE-3]
2018-06-04 17:16:49 +03:00
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
alexey-milovidov
726061b693
Update BaseDaemon.cpp
2018-06-01 20:45:03 +03:00
Alexandr Krasheninnikov
8d273e776b
Syslog logging support
2018-06-01 20:45:03 +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
Vitaliy Lyudvichenko
863b105975
Fixed build on Clang. [#CLICKHOUSE-2]
2018-05-23 21:29:35 +03:00
alexey-milovidov
42a0e1e0c7
Update SetTerminalEcho.cpp
2018-05-21 22:53:46 +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
3ffa269c0c
Fixed build [#CLICKHOUSE-2]
2018-05-17 03:26:29 +03:00
Alexey Milovidov
195f91f191
Merge branch 'master' of github.com:yandex/ClickHouse
2018-05-16 03:35:07 +03:00
Alexey Milovidov
fb91bba279
Miscellaneous [#CLICKHOUSE-2]
2018-05-16 03:34:56 +03:00
Vitaliy Lyudvichenko
9b681eb974
Suppress compiler warnings. [#CLICKHOUSE-2]
2018-05-15 21:10:50 +03:00
Vitaliy Lyudvichenko
7d1078d992
Add config key to force stderr redirecting. [#CLICKHOUSE-2]
2018-05-15 20:05:13 +03:00
Vitaliy Lyudvichenko
31c4a51ae4
Reverted bad changes. [#CLICKHOUSE-2]
2018-05-15 19:22:00 +03:00
Alexey Milovidov
3e79e8974f
Addition to prev. revision [#CLICKHOUSE-2]
2018-05-15 00:37:56 +03:00
Vitaliy Lyudvichenko
fb7e6350db
Fixed disabled stderr output. Better configs for clickhouse-copier. [#CLICKHOUSE-2]
2018-05-14 17:14:58 +03:00
Alexey Milovidov
f4a3daaed0
Fixed linking with newer libmysqlclient when using lld. TODO: add mysqlclient to contrib [#CLICKHOUSE-2]
2018-05-11 17:13:44 +03:00
Alexey Milovidov
11313e94c7
Get rid of GLIBC_2.27 symbols #2240
2018-05-11 14:58:11 +03:00
Alexey Milovidov
3ff088f270
Get rid of GLIBC_2.27 symbols #2240
2018-05-11 14:54:25 +03:00
alexey-milovidov
1e9edac617
Merge pull request #2328 from proller/fix15
...
Build fixes (gcc8)
2018-05-09 07:25:18 +03:00
Alexey Milovidov
180fbead43
Removed questionable code from CMakeLists (and obsolete test) [#CLICKHOUSE-2]
2018-05-09 07:24:36 +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
89b67dd25a
Simpler disable logging to file in conf.d (<log/> <errorlog/>)
2018-04-19 21:25:04 +03:00
proller
f9cd6a09e6
sql: initial EXTRACT(... FROM ...) support ( #2196 )
...
* start
* wip
* wip
* wip
* wip
* wip
* Fix clickhouse-server.postinst
* clean
* wip
* clean
* clean
* clean
* wip
* clean
* Update dump_variable.cpp
2018-04-13 22:35:08 +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
18bbd0e61b
Moved SessionPoolHelpers #2180
2018-04-07 06:07:32 +03:00
Alexey Milovidov
f40817f851
Moved SessionPoolHelpers #2180
2018-04-07 06:07:26 +03: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
proller
bbb12e89f0
Better listen_try, pbuilder fix ( #2068 )
...
* rename libboost/boost_1_65_0 -> contrib/boost ; make submodule ; update boost to 1.66.0
* Update contrib/boost
* Update contrib/boost
* Add comments
* Fix
* Pbuilder fix
* Better listen_try
* Much better listen_try
* Revert "remove ipv6 listen_host from docker_related_config to allow running in ipv4-only dockers"
This reverts commit 3cfa4c3e65
.
* Fix freebsd and macos build
2018-03-18 12:02:29 +03:00
Alexey Milovidov
2bc42d53f4
More information on signals [#CLICKHOUSE-2]
2018-03-16 08:18:13 +03:00
proller
fd4c0403ba
Tests compile fix
2018-03-14 19:38:42 +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
28b46655db
Added support for MSan [#CLICKHOUSE-2]
2018-03-03 23:37:12 +03:00
Alexey Milovidov
7077405e8a
Added support for MSan [#CLICKHOUSE-2]
2018-03-03 22:49:21 +03:00
Marsel Arduanov
c4138f6486
Correct MacOS version detection
...
First version of MacOS Sierra have Darwin version 16.0.0, not 16.1.0
Wiki info https://ru.wikipedia.org/wiki/Darwin#Хронология_версий
2018-03-03 20:05:21 +05:00
proller
d6a1f8470f
CLICKHOUSE-3553 Rebuild loggers on every config change ( #1973 )
...
* Macos test fix
* Fix freebsd build
* CLICKHOUSE-3553 Rebuild loggers on every config change
* rename clickhouse_common_configprocessor -> clickhouse_common_config; move Server/ConfigReloader.cpp -> Common/Config/
* CLICKHOUSE-3553 Set new level to all loggers on reload
* Dont use hash
* Update BaseDaemon.h
2018-02-28 23:34:25 +03:00
Alexey Milovidov
eca5d9d5cb
Miscellaneous [#CLICKHOUSE-2]
2018-02-28 21:16:16 +03:00
alexey-milovidov
924cc3451f
Merge pull request #1955 from yandex/CLICKHOUSE-3606
...
Added consistent hashing functions
2018-02-27 10:52:41 +03:00
Vitaliy Lyudvichenko
cf5c378ed7
Add optimized version of sumbur hash, reduced buckets range. [#CLICKHOUSE-3606]
2018-02-27 03:01:51 +03:00
Vitaliy Lyudvichenko
120530e44c
Add requested changes. [#CLICKHOUSE-3606]
2018-02-26 15:14:20 +03:00
proller
c12d93a873
Allow build without rt library ( #1963 )
...
* Allow build without rt library
* fix
2018-02-26 03:19:42 +03:00
Alexey Milovidov
c86fd31097
Addition to prev. revision [#CLICKHOUSE-2]
2018-02-25 05:23:04 +03:00
Vitaliy Lyudvichenko
077f413a0d
Added consistent hashing functions. [#CLICKHOUSE-3606]
2018-02-24 00:22:52 +03:00
Alexey Milovidov
dd52ea8343
Fixed typos [#CLICKHOUSE-3]
2018-02-22 23:44:10 +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
proller
10803568ad
Macos shared build fix ( #1906 )
2018-02-15 00:01:40 +03:00
proller
19f71fbd45
Fix logging to current dir
2018-02-14 23:43:08 +03:00
proller
82d74f5ab3
Allow redefine server config via command line: clickhouse-server -- --logger.level=information ( #1811 )
...
* Aloow redefine server config via command line: clickhouse-server -- --logger.level=information
* style
* fix
* BaseDaemon: Simpler createDirectory
* Allow --key value
* Update BaseDaemon.cpp
* Update BaseDaemon.cpp
2018-02-08 22:12:37 +03:00
proller
05b203574a
Fix freebsd unbundled build
2018-01-23 03:09:09 +03:00
proller
c430af5fb8
Freebsd fixes
2018-01-21 02:23:19 +03:00
proller
a2c3eae315
Builder fixes. Fix unbundled cctz
2018-01-20 00:33:48 +03:00
proller
91ca67d987
Fix logger, return systemd service ( #1798 )
...
* Fix test 281 under asan
* Cmake fixes
* Revert "Disable usage of systemd (assumed that temporarily) [#CLICKHOUSE-2]"
This reverts commit f0aa21bca6
.
* Fixing init scripts and logging
* Fix logger
* Fxi
* fix
* fix
* fix
* Update clickhouse-server-base.postinst
* Update clickhouse-server.cron.d
* Update clickhouse-server-base.postinst
* Update clickhouse-server-base.postinst
* fix
* fix
* space
* better message
2018-01-19 21:54:40 +03:00
proller
76cf0ba5d0
Better tests ( #1785 )
...
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed: dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h
* Fix space
* Fix data in system.build_options
* merge
* merge
* Travis optimize
* optimize
* Fix clickhouse-test --no-long
* no long
* Split too long test
* Better tests
* missing file
* Fix includes
* Added draft [#CLICKHOUSE-2].
* fix
* fix
* fix
* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
proller
90399b851d
Cmake fixes related to #1786
2018-01-18 21:26:36 +03:00
Alexey Milovidov
0e818311e0
Clarifications [#CLICKHOUSE-2]
2018-01-17 21:10:38 +03:00
Alexey Milovidov
0101cd24d6
Translated comments [#CLICKHOUSE-2]
2018-01-17 21:06:39 +03:00
Alexey Milovidov
9ad18c5019
Whitespaces [#CLICKHOUSE-2]
2018-01-17 19:39:56 +03:00
proller
d97b2edc7c
Make separate libs Common/ZooKeeper and Common/ConfigProcessor ( #1749 )
...
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed: dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h
* Fix space
* Fix data in system.build_options
* merge
* merge
2018-01-15 22:07:47 +03:00
proller
07931cad69
Fix debug build
2018-01-15 14:59:00 +03:00
Alexey Milovidov
b9e62ddb2d
Better #1665
2018-01-13 21:01:31 +03:00
Alexey Milovidov
81cdd72de9
Added comment [#CLICKHOUSE-2].
2018-01-13 03:40:41 +03:00
proller
b026eb7797
Use submodule contrib/capnproto, remove include_directories ( #1746 )
...
* Add submodule contrib/capnproto
* Use contrib/capnproto, remove include_directories
* Fix include
* Clean
* Fix werror
* Update doc
* Fix
* Final fix
* Fxi
2018-01-11 21:39:52 +03:00
alexey-milovidov
603e6dd640
Update glibc-compatibility.c
2018-01-11 16:25:17 +03:00
proller
a66d47d0c6
glib compatibility fix for asan and tsan: __shm_directory
2018-01-11 16:25:17 +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
Alexey Milovidov
798299ba89
Merge branch 'aavdonkin-master'
2017-12-28 07:33:55 +03:00
Alexey Milovidov
104b09604a
Merging [#CLICKHOUSE-3114]
2017-12-28 00:45:05 +03:00
proller
68850012bd
Embedded compiler fixes
2017-12-27 23:07:16 +03:00
proller
da1233fe3f
Fix missing includes
2017-12-26 22:02:00 +03:00
proller
3c54be8d5b
Add hostname_in_path=true option to garaphite config ( #1701 )
...
* Add hostname_in_path=true option to garaphite config
* fix style
* Update config.xml
2017-12-25 23:36:24 +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
a6fef4f398
Miscellaneous [#CLICKHOUSE-2].
2017-12-13 23:22:23 +03:00
Alexey Milovidov
ca38cf198c
Whitespaces [#CLICKHOUSE-2].
2017-12-13 22:55:45 +03:00
proller
741117a390
Fix freebsd build. Little cmake fixes. ( #1634 )
2017-12-13 22:07: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
431da20d99
Better [#CLICKHOUSE-2].
2017-12-01 23:21:35 +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
proller
34eef961de
ENABLE_LIBTCMALLOC -> ENABLE_TCMALLOC ( #1558 )
...
* Cmake: clang + libc++ fixes
* Cmake: fix link of some tests (missing pthread)
* Use -pthread flag for compile
* ENABLE_LIBTCMALLOC -> ENABLE_TCMALLOC
2017-11-28 22:57:15 +03:00
Alexey Vasiliev
6cb97b9221
ConfigProcessor: do not create config-preprocessed before setting umask [#MOBMET-7044]
2017-11-25 02:00:10 +03:00
Andrey Urusov
d21a2a057b
Graphite simplification
2017-11-23 13:29:11 +03:00
proller
411202d5ad
Zlib: as submodule, fix compile options; config: add logger options: logger.flush logger.rotateOnOpen
2017-11-21 23:10:37 +03:00
Alexey Milovidov
e4d354e39a
Fixed error when using libressl instead of openssl #1466
2017-11-21 03:32:05 +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
Silviu Caragea
f7181b4c68
Fix clang error on osx regression from a2b8ae3100
2017-11-17 14:37:17 +03:00
Orivej Desh
bedec3a0f4
Fix detection of the compatible libunwind
...
Broken since 07c964ef3b
.
2017-11-16 23:59:43 +03:00
Alexey Milovidov
a2b8ae3100
Fixed tiny error [#CLICKHOUSE-2].
2017-11-16 23:17:57 +03:00
proller
fa65bdcf48
Fix realloc on freebsd and macos ( #1494 )
2017-11-16 22:17:09 +03:00
proller
ef1b559845
Check pid file contents inside clickhouse server ( #1498 )
...
* Check pid file contents inside clickhouse (allow run with exists pid file but not exists process)
* fix
* fix
* eol
* wip
2017-11-16 22:09:08 +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
b19b476cc6
Accept part of pull request [#CLICKHOUSE-2].
2017-11-15 00:13:23 +03:00
alexey-milovidov
9b18c6cb76
Embedded compiler ( #1484 )
...
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 15:58:40 +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
proller
702c68959a
contrib: cctz as submodule. update cctz.
2017-11-03 00:34:32 +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
ba435d3d4c
Fixed build [#CLICKHOUSE-2].
2017-10-30 02:10: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-milovidov
8c327e9378
Revert "Make gperftools (libtcmalloc) as submodule and update. ( #1381 )"
...
This reverts commit fa2484ea90
.
2017-10-24 22:18:15 +03:00
proller
fa2484ea90
Make gperftools (libtcmalloc) as submodule and update. ( #1381 )
...
* Update tcmalloc and make submodule
* wip
* wip
* wip
* wip
* clean
* fix
* fix
* fix
* Fix tests
2017-10-24 22:11:42 +03:00
Alexey Milovidov
7c99e50a2f
Fixed build [#CLICKHOUSE-2].
2017-10-24 21:28:20 +03:00
proller
443088ce31
Use c++11 thread_local instaed of gcc's __thread
2017-10-19 22:36:37 +03:00
Alexey Vasiliev
7ec4530354
Added explicit copy constructor for mysqlxx::Null
2017-10-17 20:01:01 +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
64194c9b03
Updating poco and making submodule ( #1263 )
...
* Updating poco part 1: use submodule
* switch to tmp submodule
* update submodule
* wip
* wip
* wip
* wip
* wip
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* test
* wip
* wip
* wip
* wip
* wip
* wip
* Remove werror
* wip
* wip
* wip
* wip
* wip
* Block pipe signal
* Update poco
* Update and fix poco
* Better sigpipe handler
* Better block sigpipe
* Update BaseDaemon.cpp
2017-10-13 21:58:19 +03:00
proller
49f8080e52
Small debud improvement
2017-10-13 21:44:26 +03:00
proller
56f7f1df72
fix cmake
2017-10-09 20:41:27 +03:00
Vladimir Chebotarev
31d2ed2982
libglibc-compatibility: Changed musl longjmp to work with glibc setjmp. [#METR-21516]
2017-10-09 00:39:00 +03:00
Vladimir Chebotarev
3a7f4f04e2
libglibc-compatibility: Added longjmp tests and fixed longjmp problem. [#METR-21516]
2017-10-09 00:39:00 +03:00
alexey-milovidov
3382a730b8
Merge pull request #1315 from yandex/libunwind-fix
...
Libunwind fix
2017-10-03 17:06:37 +03:00
proller
4e4355a210
Prevent infinite recursion in faultSignalHandler (#CLICKHOUSE-3304) ( #1288 )
...
* Prevent infinite recursion in faultSignalHandler (#CLICKHOUSE-3304)
21 0x00000000012a0cbd in faultSignalHandler (sig=<optimized out>, info=0x7ffcacfd5730, context=0x7ffcacfd5600)
at /home/robot-metrika-test/jenkins/workspace/clickhouse-packages-build@2/sources/libs/libdaemon/src/BaseDaemon.cpp:166
22 <signal handler called>
23 0x00007fc770f90c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
24 0x00007fc770f94028 in abort () from /lib/x86_64-linux-gnu/libc.so.6
25 0x00000000012a0d5f in terminate_handler () at /home/robot-metrika-test/jenkins/workspace/clickhouse-packages-build@2/sources/libs/libdaemon/src/BaseDaemon.cpp:404
26 0x00000000037c8836 in __cxxabiv1::__terminate(void (*)()) ()
27 0x000000000382d379 in __cxa_call_terminate ()
28 0x00000000037d475d in __gxx_personality_v0 ()
29 0x00000000038331a3 in _Unwind_RaiseException_Phase2 ()
30 0x00000000038339c7 in _Unwind_Resume ()
31 0x00000000012a0cbd in faultSignalHandler (sig=<optimized out>, info=0x7ffcacfd6ef0, context=0x7ffcacfd6dc0)
at /home/robot-metrika-test/jenkins/workspace/clickhouse-packages-build@2/sources/libs/libdaemon/src/BaseDaemon.cpp:166
32 <signal handler called>
33 0x00007fc770f90c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
34 0x00007fc770f94028 in abort () from /lib/x86_64-linux-gnu/libc.so.6
35 0x00000000012a0d5f in terminate_handler () at /home/robot-metrika-test/jenkins/workspace/clickhouse-packages-build@2/sources/libs/libdaemon/src/BaseDaemon.cpp:404
36 0x00000000037c8836 in __cxxabiv1::__terminate(void (*)()) ()
37 0x000000000382d379 in __cxa_call_terminate ()
38 0x00000000037d475d in __gxx_personality_v0 ()
39 0x00000000038331a3 in _Unwind_RaiseException_Phase2 ()
40 0x00000000038339c7 in _Unwind_Resume ()
41 0x00000000012a0cbd in faultSignalHandler (sig=<optimized out>, info=0x7ffcacfd86b0, context=0x7ffcacfd8580)
at /home/robot-metrika-test/jenkins/workspace/clickhouse-packages-build@2/sources/libs/libdaemon/src/BaseDaemon.cpp:166
* Requested changes
2017-09-30 14:04:56 +03:00
Vladimir Chebotarev
07c964ef3b
contrib: Fixed unwind build under GCC 7. [#METR-21516]
...
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712 .
2017-09-28 23:28:37 +03:00
proller
5250650f65
Fixes ( #1286 )
...
* Revert "Simplification [#CLICKHOUSE-2]."
This reverts commit 98ad6a5db3
.
* Fix error: comparison of unsigned expression < 0 is always false
* Fix float division by zero
* Fix float division by zero
* Disable PointInPolygon function if compiling with old clang
* Fix warning:
dbms/src/Functions/FunctionsCoding.h:336:21: error: comparison of constant -1 with expression of type 'const char' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
if (num != -1)
* Fix
2017-09-26 23:29:34 +03:00
proller
7d0e5e786e
Compile fixes
2017-09-24 15:41:29 +03:00
proller
f9130b18da
Cmake: Allow disable libunwind
2017-09-22 00:31:21 +03:00
Alexey Milovidov
f31a38c5ea
Fixed build on Ubuntu Precise [#CLICKHOUSE-2].
2017-09-18 10:10:35 +03:00
Alexey Milovidov
a726f2831c
Enabled "GLIBC_COMPATIBILITY" option by default [#CLICKHOUSE-3275].
2017-09-17 01:41:20 +03:00
Alexey Milovidov
268771efa9
Miscellaneous [#CLICKHOUSE-2].
2017-09-17 01:32:04 +03:00
Alexey Milovidov
5d038312b7
Fixed readme [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
1544187f7b
Better GLIBC_COMPATIBILITY option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
a3f3ed12ab
Better GLIBC_COMPATIBILITY option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
148421d10f
Better GLIBC_COMPATIBILITY option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
660926c215
Better GLIBC_COMPATIBILITY option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
8254bbe7b8
Simplification [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
860c19bad3
Refined "GLIBC_COMPATIBILITY" option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
165518d4b0
Added README [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
cd9c387ed4
Using internal memcpy [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
50cf5623a2
Moved third-party sources deeper [#CLICKHOUSE-2].
2017-09-15 12:51:56 +03:00
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
robot-metrika-test
e3d9b12ac2
Auto version update to [54180]
2017-03-09 19:48:53 +03:00
robot-metrika-test
655489228b
Auto version update to [54179]
2017-03-09 11:02:02 +03: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
robot-metrika-test
e83d613b48
Auto version update to [54178]
2017-03-02 18:07:33 +03:00
proller
0e91c47066
Allow build with external double-conversion lz4 zstd re2 zookeeper ( #531 )
...
* Allow build with external double-conversion lz4 zstd re2 zookeeper
* fix
* fix
* freebsd fixes
* spaces
* fix
* fix
* fix
* wip
* move
* fix
2017-03-01 03:49:04 +04:00
robot-metrika-test
6f106c748e
Auto version update to [54173]
2017-02-27 10:01:52 +03:00