objatie_groba
5f0eec91a3
Minor code style fix. V2
2019-02-02 17:23:48 +03:00
objatie_groba
92cc7b0ef8
Minor code style fix
2019-02-02 16:54:30 +03:00
Alexander Tokmakov
68812cc7f7
Add function to check instruction availability
2019-02-02 16:26:02 +03:00
objatie_groba
4431e1e521
Error msgs fix
2019-02-02 16:07:02 +03:00
objatie_groba
f1d90515a1
First try
2019-02-02 15:26:07 +03:00
Alexey Milovidov
7f8ac2d26b
Fixed bad function name
2019-02-02 03:25:12 +03:00
alexey-milovidov
2023bc18da
Merge pull request #4209 from gerasiov/master
...
Set default umask to 027.
2019-02-01 14:41:18 +03:00
proller
ff30a156c9
Fix compile on ARM
...
Freebsd fix
2019-01-31 18:38:21 +03:00
Alexander GQ Gerasiov
58fb782c51
Set default umask to 027.
...
Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su>
2019-01-31 18:09:17 +03:00
proller
343b31af66
More link with Threads::Threads
2019-01-28 21:21:20 +03:00
Alexey Milovidov
4e3d9a0f15
Merge branch 'master' of github.com:yandex/ClickHouse into global-thread-pool
2019-01-28 14:20:24 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka ( #4152 )
2019-01-25 23:02:03 +03:00
Alexey Milovidov
65f8e4d4a8
Merge branch 'master' into global-thread-pool
2019-01-25 16:33:50 +03:00
alexey-milovidov
f13d094a4e
Merge pull request #3973 from amosbird/join_overwrite
...
Add join_overwrite settings for StorageJoin.
2019-01-24 02:05:13 +03:00
Danila Kutenin
784c3e5fda
fix of ppc64le definitions
2019-01-23 18:24:14 +03:00
Danila Kutenin
f6e6f99737
fix
2019-01-23 17:26:05 +03:00
Danila Kutenin
f5f5674cd6
fix
2019-01-23 17:21:42 +03:00
Danila Kutenin
7f4b0f3c04
added powerpc build support
2019-01-23 17:18:19 +03:00
alesapin
6053d1f235
Fix type
2019-01-22 19:28:05 +03:00
alesapin
e026759443
Fix fds close logic
2019-01-22 17:37:28 +03:00
Alexey Milovidov
fb3f760224
Merge remote-tracking branch 'origin/master' into fix-glibc-compatibility-2
2019-01-20 00:42:08 +03:00
Alexey Milovidov
cd4f93ff2a
Added missing glibc compatibility functions
2019-01-20 00:41:59 +03:00
Alexey Milovidov
68af2eaf00
Merge remote-tracking branch 'origin/master' into fix-glibc-compatibility-2
2019-01-20 00:37:42 +03:00
Alexey Milovidov
e22e19ddc9
Added missing glibc compatibility functions
2019-01-20 00:35:46 +03:00
Alexey Milovidov
f1bb9fc05a
Removed useless code
2019-01-20 00:05:20 +03:00
Alexey Milovidov
37f8d20181
Fix glibc compatibility, part 2
2019-01-19 20:14:57 +03:00
alexey-milovidov
d54a019456
Merge branch 'master' into fix-glibc-compatibility
2019-01-18 21:21:47 +03:00
Alexey Milovidov
ed124c955a
Link all libraries to "glibc-compatibility"
2019-01-18 21:20:07 +03:00
Alexey Milovidov
112f62f49f
Fixed linking order of glibc-compatibility library
2019-01-18 19:36:10 +03:00
proller
0939387514
Build fixes ( #4076 )
...
Move copy_headers.sh and formath.sh from root.
Debian: use default build dir (obj-x86_64-linux-gnu)
Debian: add test after build (GLIBC_required_version)
cmake: dont run copy headers if already copied
2019-01-18 18:19:53 +03:00
Alexey Milovidov
a7c468da8e
Merge remote-tracking branch 'origin/master' into global-thread-pool
2019-01-17 21:57:01 +03:00
Alexey Milovidov
4b84f2c781
Miscellaneous
2019-01-16 02:56:54 +03:00
Alexey Milovidov
f40e0fcd8e
Revert "Attempt to implemnt global thread pool #4018 "
...
This reverts commit 510b15540c
.
2019-01-15 21:57:42 +03:00
Alexey Milovidov
f6b9b06307
Attempt to implemnt global thread pool #4018
2019-01-14 22:22:09 +03:00
Alexey Milovidov
a6bf5a7e28
Addition to prev. revision
2019-01-13 20:49:21 +03:00
Alexey Milovidov
abcd5a2a49
Attempt to implemnt global thread pool #4018
2019-01-11 22:12:36 +03:00
Alexey Milovidov
13dd877026
Attempt to implemnt global thread pool #4018
2019-01-11 21:38:11 +03:00
Alexey Milovidov
43774a38b8
Attempt to implemnt global thread pool #4018
2019-01-11 20:20:06 +03:00
Alexey Milovidov
9031be381a
Attempt to implemnt global thread pool #4018
2019-01-11 19:59:15 +03:00
Alexey Milovidov
510b15540c
Attempt to implemnt global thread pool #4018
2019-01-11 19:58:43 +03:00
Alexey Milovidov
6cfa68d9da
Investigation of performance degradation of jemalloc
2019-01-10 18:01:22 +03:00
Alexey Milovidov
7fc85d1ff0
Investigation of performance degradation of jemalloc
2019-01-10 16:26:57 +03:00
Alexey Milovidov
b4a310b22e
Investigation of performance degradation of jemalloc
2019-01-10 16:22:37 +03:00
Alexey Milovidov
c93b54a88d
Removed obsolete tweak, because KDevelop has migrated to clang parser long time ago
2019-01-09 19:32:34 +03:00
Alexey Milovidov
43bd57eaf1
Addition to prev. revision
2019-01-09 18:47:25 +03:00
Alexey Milovidov
19f4652959
Fixed bugs found by PVS-Studio
2019-01-09 18:44:20 +03:00
Amos Bird
8ea4d7987b
Add join_overwrite settings for StorageJoin.
...
This makes using StorageJoin as dictionary more flexible.
2019-01-07 01:23:26 +08:00
Alexey Milovidov
afda68d25c
Added some warnings from clang's -Weverything
2019-01-04 17:18:49 +03:00
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
3c82dd8809
Fixed exception safety of ThreadPool constructor [#CLICKHOUSE-4113]
2018-12-28 20:15:42 +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