Alexey Milovidov
29762240de
Remove duplicate whitespaces (preparation)
2020-05-23 22:31:54 +03:00
Alexey Milovidov
1f13515a65
Make all LOG in single line (preparation)
2020-05-23 21:31:37 +03:00
Alexey Milovidov
3a09f9ca1c
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_[^\W_]+\([^,]+, [^<+)"]+\);' | xargs sed -i -r -e 's/(LOG_[^\W_]+)\(([^,]+), ([^<+)"]+)\);/\1_FORMATTED(\2, \3);/'
2020-05-23 20:29:56 +03:00
Alexey Milovidov
f69cbdcbfc
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+)\);/\1_FORMATTED(\2, "\3{}", \4);/'
2020-05-23 20:09:37 +03:00
Alexey Milovidov
8042e5febe
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}\5{}", \4, \6);/'
2020-05-23 19:58:15 +03:00
Alexey Milovidov
e391b77d81
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5", \4);/'
2020-05-23 19:56:05 +03:00
Alexey Milovidov
979e5d77c1
Fix build
2020-05-23 19:53:51 +03:00
Alexey Milovidov
ee4ffbc332
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}", \4);/'
2020-05-23 19:47:56 +03:00
Alexey Milovidov
8d2e80a5e2
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+"\)' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+, "[^"]+")\)/\1_FORMATTED(\2)/'
2020-05-23 19:42:39 +03:00
Alexey Milovidov
3c582fc96f
Fix error
2020-05-23 19:42:16 +03:00
Alexey Milovidov
35d79e1252
fmt-style logging, part 1
2020-05-23 19:33:07 +03:00
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10
2020-05-15 14:12:43 +03:00
Ivan
21ce8dbbc3
Fix CH-over-YDB build ( #10921 )
2020-05-14 22:56:10 +03:00
Vitaly Baranov
6f15a0d443
Improve the function range() to allow iterating through enum values.
2020-05-13 19:40:48 +03:00
Alexey Milovidov
2864012d1b
Better support for sanitizers
2020-05-12 06:36:09 +03:00
Alexey Milovidov
365acc65ea
Better support for sanitizers
2020-05-12 06:31:53 +03:00
alexey-milovidov
61496384b6
Merge pull request #10809 from Enmk/DateLUTImpl_ctor_fix
...
Fixed DateLUTImpl constructors to avoid accidental copying
2020-05-11 20:19:44 +03:00
Vasily Nemkov
776ce03777
Fixed DateLUTImpl constructors to avoid accidental copying
...
Fixed one case of copying DateLUTImpl
2020-05-11 10:42:47 +03:00
Alexey Milovidov
e2b3cf2b52
Remove obsolete suppression
2020-05-11 09:50:38 +03:00
Alexey Milovidov
8db5dcd106
Fix UBSan and MSan report in DateLUT
2020-05-11 07:25:46 +03:00
Alexey Milovidov
6b38005575
Fix build
2020-05-11 01:17:28 +03:00
Alexey Milovidov
3b97b41188
Fix build
2020-05-10 22:28:40 +03:00
Alexey Milovidov
20808de08c
Merge remote-tracking branch 'origin/master' into even-more-warnings
2020-05-10 22:28:16 +03:00
Alexey Milovidov
f9ad1e612a
Fix build
2020-05-10 08:24:01 +03:00
Alexey Milovidov
bd26547f99
Fix warning
2020-05-10 06:08:56 +03:00
Alexey Milovidov
a7681933cb
Asserts in DateLUTImpl
2020-05-10 04:43:26 +03:00
Alexey Milovidov
45b65a462e
Better code
2020-05-10 02:33:11 +03:00
Alexey Milovidov
715b6f3617
Better code
2020-05-10 02:31:44 +03:00
Alexey Milovidov
eeaab4ba11
Fix build
2020-05-10 02:22:51 +03:00
Alexey Milovidov
1155b74214
Fixed build
2020-05-10 02:18:18 +03:00
Alexey Milovidov
a576a4fbcd
Enable extra warnings for base, utils, programs
2020-05-10 01:59:34 +03:00
Azat Khuzhin
150dd81e3b
Fix build with unbundled Poco
2020-05-09 01:22:12 +03:00
Ivan
85d783c247
Poco contrib refactoring ( #10396 )
...
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Azat Khuzhin
ed4c7820be
Disable buffering of the stderr
...
There are some 3d party libs that are used by clickhouse that uses
stderr, for example rdkafka, and buffering of rdkafka logs may be a
problem in tests at least.
2020-05-04 18:57:06 +03:00
Azat Khuzhin
f767309574
Ability to set logger level for loggers that have non allowed in xml tags symbols
2020-04-27 21:30:29 +03:00
Alexey Milovidov
08d8c350b7
Fix overflow at beginning of unix epoch for fractional timezones #9335
2020-04-26 19:22:44 +03:00
Alexey Milovidov
58a4d29f40
Fix "odbc-bridge" test
2020-04-25 23:52:45 +03:00
Azat Khuzhin
ac8fb14350
Allow fallback for timezones with unbundled CCTZ in debug
...
Follow-up-for: #10425
2020-04-23 01:21:50 +03:00
alexey-milovidov
4f6bb00424
Merge pull request #10420 from ClickHouse/clang-tidy-8
...
Fixes for clang-tidy on clang-10
2020-04-23 00:33:41 +03:00
Alexey Milovidov
3e2b247b6b
Check that only embedded timezones are used in Debug build
2020-04-22 20:15:26 +03:00
Alexey Milovidov
91f966610e
Do not embed timezones on alien platforms
2020-04-22 20:11:36 +03:00
Alexey Milovidov
45b5afa131
Avoid dependency on system tzdata
2020-04-22 06:17:29 +03:00
Alexey Milovidov
09f91cddae
Fixes for clang-tidy on clang-10
2020-04-22 01:04:19 +03:00
alexey-milovidov
fea7ee800a
Merge pull request #10369 from ClickHouse/fix-weird-timezones
...
Fix for weird timezones
2020-04-20 23:21:52 +03:00
Alexey Milovidov
09dedaeac3
Fix error
2020-04-20 10:49:00 +03:00
Amos Bird
2d08c8e4ab
clang-10 fix
2020-04-20 15:45:37 +08:00
Alexey Milovidov
48d6eb719a
Fix error
2020-04-20 10:41:03 +03:00
Alexey Milovidov
860c4a27bd
Fix for weird timezones
2020-04-20 10:10:25 +03:00
alexey-milovidov
a551e1f33b
Merge pull request #10343 from azat/colored-logger-name
...
[RFC] Make logger name colored
2020-04-18 04:15:48 +03:00
Azat Khuzhin
2dbf8ba219
Make logger name colored
2020-04-18 02:32:22 +03:00