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
chertus
2e65f4922f
extract overflow funcs to arithmeticOverflow.h CLICKHOUSE-3906
2018-08-24 17:20:23 +03:00