Nikita Mikhaylov
593194133a
lock to text_log added
2019-07-31 17:42:23 +03:00
Nikita Mikhaylov
ad4459c4a2
fixed flush_logs + added pretty function
2019-07-31 17:03:23 +03:00
alexey-milovidov
d264ec2b8c
Merge pull request #6186 from amosbird/c5
...
build fix
2019-07-31 06:02:05 +03:00
Nikita Mikhaylov
e06b3b17b3
some changes to log all text logs
2019-07-30 17:04:18 +03:00
Alexey Milovidov
372c4d89b2
Enabled line numbers in stack traces
2019-07-30 01:26:44 +03:00
Amos Bird
f63f763c3e
build fix
2019-07-28 22:43:38 +08:00
Alexey Milovidov
5a47b0b990
Sanity and configuration checks
2019-07-26 01:35:47 +03:00
Alexey Milovidov
673fb05a2a
Disable PHDR Cache with TSan
2019-07-26 01:18:27 +03:00
Alexey Milovidov
9b8375a6ef
More strict memory order just in case
2019-07-25 22:57:49 +03:00
Alexey Milovidov
472a61c1fa
Updating PHDRCache after dlopen
2019-07-25 22:56:51 +03:00
Alexey Milovidov
f5c1dfc5ac
Updated comment
2019-07-25 22:54:43 +03:00
Alexey Milovidov
050db07e3d
Merge branch 'master' into merge-profiler
2019-07-25 22:54:22 +03:00
Alexey Milovidov
1d499bcdc0
Allow to update PHDRCache
2019-07-25 22:54:16 +03:00
chertus
50e3839157
NOT_UNBUNDLED -> UNBUNDLED
2019-07-25 13:35:57 +03:00
Alexey Milovidov
d414e7366c
Fixed MSan report
2019-07-25 02:11:00 +03:00
Alexey Milovidov
796dfeb44e
Better PHDR cache
2019-07-24 18:35:19 +03:00
Alexey Milovidov
cc7fe5fb8d
Addition to prev. revision
2019-07-24 18:27:37 +03:00
Alexey Milovidov
d95c6e1bc4
Attempt to solve signal safety of libunwind with solution from Fedor Korotkiy
2019-07-24 18:26:23 +03:00
Alexey Milovidov
36746d85dd
Better cache for symbolizeAddress function
2019-07-24 03:47:17 +03:00
Alexey Milovidov
2d895c4fe6
Changed symbolizeTrace to symbolizeAddress
2019-07-23 15:46:58 +03:00
alexey-milovidov
e4ad0da6e3
Merge pull request #4247 from laplab/query-poor-mans-profiler
...
Poor man's profiler on query level [Work in progress]
2019-07-23 03:02:58 +03:00
alexey-milovidov
6706af64d7
Merge pull request #5981 from 4ertus2/some
...
Count new/delete memory in MemoryTracker
2019-07-18 23:07:00 +03:00
Nikita Mikhaylov
e5360413a6
integration test added
2019-07-17 14:55:18 +03:00
chertus
3db106c1f2
disable new/delete memory tracking for unbundled build
2019-07-16 21:09:06 +03:00
Nikita Mikhaylov
ded1849559
better
2019-07-16 19:45:24 +03:00
chertus
019c156afa
fix je_nalocx() call with 0 & remove std::new_handler logic
2019-07-16 19:36:10 +03:00
Nikita Mikhaylov
04de34a74f
changes after review
2019-07-16 19:27:42 +03:00
chertus
4bc79bca35
fix unbandled build & add comment
2019-07-16 17:18:01 +03:00
Nikita Mikhailov
6935675917
small commit to fix build check
2019-07-16 11:36:50 +03:00
chertus
bd821d1898
exception safety and fix sanitizers' builds
2019-07-15 21:57:00 +03:00
Nikita Mikhailov
cc5f87e352
Merge branch 'master' of github.com:yandex/ClickHouse into logs_bugfix
2019-07-15 19:31:54 +03:00
Nikita Mikhailov
d192df1388
poco patch define added
2019-07-15 18:25:32 +03:00
chertus
37bee1104d
Merge branch 'master' into some
2019-07-12 18:16:03 +03:00
chertus
9bd42366f0
build fixes
2019-07-12 17:41:59 +03:00
Vitaly Baranov
fd89a8b051
Merge pull request #5212 from andyyzh/custom_week_functions
...
Added functions for working with the Custom week number
2019-07-12 14:00:35 +03:00
chertus
9739ac13e4
move new/delete overloads to dbms/src/Common
2019-07-11 18:40:55 +03:00
Nikita Lapkov
9d540abc84
refactor
2019-07-10 20:47:39 +00:00
NIKITA MIKHAILOV
90494589e4
remove useless stderr
2019-07-10 16:32:12 +03:00
NIKITA MIKHAILOV
865606b83c
bugfix client logs + some tests
2019-07-10 16:15:22 +03:00
NIKITA MIKHAILOV
21ad247df3
only for saving this changes
2019-07-10 16:05:22 +03:00
Nikita Mikhaylov
55e9e21cc5
better includes
2019-07-10 16:05:12 +03:00
Nikita Mikhaylov
f3e026edf5
static missed
2019-07-10 16:05:02 +03:00
Nikita Mikhaylov
c0a4495d17
multithreading
2019-07-10 16:04:50 +03:00
Nikita Mikhaylov
6ff9dfce34
first try
2019-07-10 16:04:01 +03:00
Alexey Milovidov
b1e7e520c0
Fixed compatibility
2019-07-09 22:30:58 +03:00
Alexey Milovidov
52bb292327
Merge branch 'master' into libcxx-as-submodule
2019-07-09 01:58:09 +03:00
Alexey Milovidov
886e8ea0d4
Merge branch 'master' into pvs-studio-fixes-4
2019-07-08 19:58:42 +03:00
Alexey Milovidov
4e1286e1e5
Addition to prev. revision
2019-07-08 05:19:50 +03:00
Alexey Milovidov
6577ecec90
Two more fixes for PVS-Studio
2019-07-08 05:06:37 +03:00
Alexey Milovidov
57d8dac95d
Two more fixes for PVS-Studio
2019-07-08 05:06:15 +03:00
Alexey Milovidov
74b245cfd4
Fixed DateLUT initialization when /etc/localtime is a relative symlink like ../usr/share/zoneinfo/Europe/Moscow
2019-07-08 02:55:08 +03:00
Nikita Lapkov
aaea6cbfc9
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-07-05 21:37:31 +00:00
Nikita Lapkov
b8585a5630
refactor and comments
2019-07-05 13:48:47 +00:00
Nikita Lapkov
0f579860f7
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-07-04 22:13:51 +00:00
Alexey Milovidov
6b9df067d8
Merge branch 'master' into libcxx-as-submodule
2019-07-03 22:34:58 +03:00
CurtizJ
80e96995ae
Merge branch 'master' of https://github.com/yandex/ClickHouse into dns-cache
2019-07-03 21:27:43 +03:00
Alexey Milovidov
271f1807a3
Avoid PVS-Studio warning
2019-07-03 18:23:46 +03:00
Alexander Kuzmenkov
fe519cbea4
Pass const StringRef & to ZeroTraits::check
...
There is no reason to pass by value to this function, and this
is slower in debug builds, and leads to extra unexpected instrumentation
under asan.
2019-07-02 20:48:33 +03:00
Nikita Lapkov
47e1537b20
remove meaningless check ( #5839 )
2019-07-02 19:59:34 +03:00
alexey-milovidov
7fe87e112b
Merge pull request #5830 from yandex/filimonov-fix-macos-build
...
fix macos build after #4828
2019-07-02 12:52:10 +03:00
alexey-milovidov
dc59b245f1
Merge pull request #5828 from yandex/date-lut-fix-uct
...
Fix wrong resolution of time zone name.
2019-07-02 12:49:48 +03:00
filimonov
a08fa57711
another place with _XOPEN_SOURCE definition
2019-07-02 08:39:03 +02:00
Alexey Milovidov
97a502fcb6
Merge branch 'utc-fallback-no-tzdata' into date-lut-fix-uct
2019-07-02 03:12:50 +03:00
Alexey Milovidov
5e893c0da0
Fixed error with preference of UCT instead of UTC
2019-07-02 03:12:00 +03:00
Alexey Milovidov
ddd1a10b58
Fallback to UTC if no tzdata
2019-07-02 01:36:05 +03:00
Nikita Lapkov
5286ab97fd
refactor and comments
2019-07-01 22:11:11 +00:00
Nikita Lapkov
9641d058d0
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-07-01 21:11:26 +00:00
Alexey Milovidov
735eb8eeca
Removed `emacs' style of quotes
2019-07-01 22:55:35 +03:00
alexey-milovidov
7474abfea6
Merge pull request #5791 from yandex/aku/store-explicit
...
Require explicit type in unalignedStore
2019-06-29 15:33:38 +03:00
Nikita Lapkov
2a131185b0
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-06-28 18:20:23 +00:00
Nikita Lapkov
f8d2b5effd
introduce Backtrace class
2019-06-28 18:06:38 +00:00
proller
c8469ab4ba
Build fixes. no submodules ( #5792 )
2019-06-28 21:06:09 +03:00
Alexander Kuzmenkov
0116c10e41
Require explicit type in unalignedStore
...
This is a follow-up to PR #5786 , which fixed a segfault caused by
an unexpected deduced type for unalignedStore. To prevent future errors
of this kind, require a caller to specify the stored type explicitly.
2019-06-28 20:33:14 +03:00
Nikita Lapkov
7cff36fbfc
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-06-26 11:46:04 +00:00
Ivan
cdbfa3034c
Fix compilation when we don't have readline
...
Otherwise we get warning about extra semi-colon
2019-06-24 18:02:25 +03:00
Andy Yang
4b6efaa4b9
Merge branch 'master' into custom_week_functions
...
update last code
2019-06-24 09:53:38 +08:00
Andy Yang
ab8d2058c6
Fix code styles
2019-06-19 09:25:17 +08:00
Andy Yang
e2216555dd
Fix build error which g++-8
2019-06-18 19:29:28 +08:00
Andy Yang
5db11932d7
Fix code styles
2019-06-18 18:08:12 +08:00
Andy Yang
6085fce8d7
some review fixes and add new function toStartOfWeek
2019-06-18 17:48:07 +08:00
proller
2a6c7cda0b
CLICKHOUSE-4179 Fix function arrayEnumerateUniqRanked ( #5622 )
...
* wip
* fix
* clean
2019-06-15 22:14:17 +03:00
proller
09f3d68f6e
Use logging in clickhouse-local. Use config options in command line in clickhouse-client ( #5540 )
...
* Try fix macos server run
* Doc macos build
# Please enter the commit message for your changes. Lines starting
* CLICKHOUSE-3957 start wip
* tests wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* Making logger for clickhouse-local
* fixes
* wip
* wip
* wip
* wip
* clean
* cf
* wip
* fix
* Update CMakeLists.txt
* Update argsToConfig.h
* Update argsToConfig.cpp
* Update ExtendedLogChannel.h
* Update OwnPatternFormatter.cpp
2019-06-14 17:00:37 +03:00
Andy Yang
7c15a32ef3
Merge branch 'master' into custom_week_functions
...
Update the latest code
2019-06-10 09:40:43 +08:00
Andy Yang
365d85e1f9
add week(), yearweek()
2019-06-09 23:19:15 +08:00
Orivej Desh
5ec179377a
DEVTOOLS-5170 Delete Y_IGNORE markers ( #5533 )
...
They have been superseded by a new include resolution configuration that lives
outside clickhouse source tree.
2019-06-05 14:52:39 +03:00
Andy Yang
ff7bcd127e
Merge branch 'master' into custom_week_functions
...
update laster code
2019-05-31 23:54:54 +08:00
Nikita Lapkov
6c75e609d9
fix memory leak
2019-05-30 14:50:50 +00:00
Nikita Lapkov
8f36af7760
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-30 10:33:33 +00:00
Nikita Lapkov
3b54fde8a7
replace StackTrace with Backtrace
2019-05-30 10:30:24 +00:00
alexey-milovidov
6cdb4e2aeb
Merge pull request #5443 from abyss7/fix-default-timezone
...
Use contents of environment variable TZ as the name for timezone
2019-05-28 20:11:34 +03:00
Ivan Lezhankin
a390428cd8
Use contents of env TZ as the name for timezone
2019-05-28 14:33:21 +03:00
Георгий Кондратьев
707ca25007
Delete port/memrchr.h
...
Its last user was deleted in 141e9799e4
2019-05-27 23:41:23 +00:00
Nikita Lapkov
419a37c7d8
fix late define of _LIBUNWIND_NO_HEAP
2019-05-22 00:09:13 +00:00
Nikita Lapkov
382beefdb8
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-21 22:52:57 +00:00
Nikita Lapkov
9ceff4035a
last hope
2019-05-21 22:42:44 +00:00
Nikita Lapkov
b12db6e0e8
fix data race on trace_pipe close
2019-05-19 20:22:44 +00:00
Nikita Lapkov
1dd87261ae
move SleepFor* to libcommon
2019-05-19 09:14:23 +00:00
Nikita Lapkov
483f68b728
refactor. introduce SleepFor* functions
2019-05-19 00:25:45 +00:00
proller
51ca4cbaa4
Build fixes ( #5278 )
2019-05-15 20:19:39 +03:00
Nikita Lapkov
ab69128e1d
introduce Backtrace class
2019-05-14 22:15:23 +00:00