Ivan
e5a5091556
Revert "Get rid of malloc symbols in libcommon ( #7065 )" ( #7131 )
...
This reverts commit 4cb53093a0
.
2019-09-27 16:16:53 +03:00
Amos Bird
4cb53093a0
Get rid of malloc symbols in libcommon ( #7065 )
2019-09-27 15:19:26 +03:00
Vasily Nemkov
9cc2baf05c
DataType64 as decimal
...
compiles
2019-09-26 18:12:40 +03:00
Yuriy
dfb762d93c
Revert "Revert "Updated MariaDB""
...
This reverts commit f8b7cc8693
.
2019-09-25 01:28:59 +03:00
Yuriy Baranov
f8b7cc8693
Revert "Updated MariaDB"
2019-09-24 05:11:52 +03:00
alexey-milovidov
2f195ddb03
Merge pull request #7028 from abyss7/issue-6459
...
Implement cross-compilation support Linux → Darwin
2019-09-24 02:20:17 +03:00
alexey-milovidov
4602de0e2c
Merge pull request #6945 from yurriy/mysql
...
Updated MariaDB
2019-09-24 02:16:12 +03:00
Ivan Lezhankin
4b143c3e0f
Merge remote-tracking branch 'upstream/master' into issue-6459
2019-09-23 16:07:19 +03:00
alexey-milovidov
ab02aad198
Update sleep.cpp
2019-09-21 23:44:56 +03:00
Silviu Caragea
1fbd2fb6a8
Fix osx build
2019-09-21 21:30:01 +03:00
Ivan Lezhankin
9e46118edd
Merge remote-tracking branch 'upstream/master' into issue-6459
2019-09-20 21:25:55 +03:00
proller
5d08a7b353
Remove gcc-7 from build scripts
2019-09-17 13:37:35 +03:00
Yuriy Baranov
2d53ab3f18
Merge remote-tracking branch 'origin/master' into mysql
2019-09-16 01:29:09 +00:00
Yuriy
fd0c76131f
removed contrib/mariadb-connector-c-cmake
2019-09-15 23:44:34 +03:00
Yuriy
84cfbb8e69
simplified mariadb-connector-c compilation and fixed caching_sha2_password plugin
2019-09-15 23:09:09 +03:00
Ivan Lezhankin
787c2b8d83
WIP
2019-09-15 13:35:19 +03:00
Ivan Lezhankin
01fdb802d4
Useful changes
2019-09-15 13:35:12 +03:00
Ivan Lezhankin
1b5192706e
Some fixes for OS X build.
2019-09-13 17:56:26 +03:00
Alexander Kuzmenkov
f4da0399c0
Some MemorySanitizer fixes.
2019-09-13 14:49:29 +03:00
Amos Bird
a1310ffbe6
Split libdbms.so using object library
...
Now the linking time of incremental builds are around 1-2 seconds
2019-09-11 01:56:01 +08:00
filimonov
526afd44ed
Make SensitiveDataMasker a singleton. ( #6810 )
...
Among other things, it is used to filter logs, which are being written even after the global server context is deinitialized, so we can't keep masker there.
2019-09-06 20:48:27 +03:00
alexey-milovidov
b2e80b0cd9
Merge branch 'master' into query_masking
2019-09-03 22:58:15 +03:00
alexey-milovidov
766dcc98ae
Update Loggers.h
2019-09-03 22:48:29 +03:00
alexey-milovidov
70c7926acf
Update Loggers.cpp
2019-09-03 22:47:48 +03:00
alexey-milovidov
7a6a6e093b
Update Loggers.cpp
2019-09-03 22:46:49 +03:00
Alexey Milovidov
ace08fa344
Merge branch 'master' into time-zone-configuration
2019-08-30 19:27:08 +03:00
Ivan
b4339f266d
Make a better build scheme ( #6500 )
...
* Fix shared build
* Major default libs refactor
* Fix build with gcc_eh
* Link all libraries as a big group.
* Use global interface library as a group
* Build capnproto using our cmake
* Use only internal libunwind
2019-08-28 23:49:37 +03:00
Alexey Milovidov
216b05b71b
Fixed build
2019-08-28 21:33:24 +03:00
Alexey Milovidov
cf57a88495
Added a way to forbid static initialization of a class
2019-08-28 20:13:29 +03:00
Alexey Milovidov
d5f8e0347f
Better setup of default time zone from configuration file
2019-08-28 20:11:11 +03:00
Alexey Milovidov
6d6c53d42b
Style
2019-08-28 19:15:57 +03:00
Alexey Milovidov
0eec226c9a
Simplify shared_ptr_helper
2019-08-26 22:07:29 +03:00
Alexey Milovidov
720bb3ac08
Added a test
2019-08-24 14:53:48 +03:00
Alexey Milovidov
d38e9ee229
Fixed "trim" functions (in progress)
2019-08-23 23:32:31 +03:00
Rafael David Tinoco
17a7cb8735
MySQL 8 integration requires previous declaration checks
...
C and C++ differ in the form of types being defined. While C++ structs
are defined also as new types, in C you have to explicitly typedef the
struct to have a new type.
Fir this case, it was enough to check if MySQL header was already
defined in order not to re-declare MYSQL, MYSQL_RES, MYSQL_ROW and
MYSQL_FIELD.
Signed-off-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
2019-08-20 09:48:50 -03:00
Ivan
a502424c33
Implement support for insertion into Kafka tables ( #6012 )
...
* Add write-callback on each row for RowOutputStream
* Fix build of new rdkafka library
* Poll messages if Kafka outgoing queue is full
* Add test
* Add test producer-consumer
* Truncate delimiter from last row in message
2019-08-20 14:17:57 +03:00
alexey-milovidov
f36d20915b
Merge pull request #6529 from yandex/better-signals
...
Better debug-ability of fault signals.
2019-08-18 16:44:54 +03:00
proller
d09c5c871b
Build fixes ( #6491 )
...
* Fix build
* cmake: fix cpuinfo
* Fix includes after processors merge
Conflicts:
dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp
* Fix build in gcc8
* fix test link
* fix test link
* Fix test link
* link fix
* Fix includes after processors merge 2
Conflicts:
dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp
* Fix includes after processors merge 3
* link fix
* Fix likely/unlikely conflict with cython
* Fix conflict with protobuf/stubs/atomicops.h
* remove unlikely.h
* Fix macos build (do not use timer_t)
2019-08-18 01:53:46 +03:00
Alexey Milovidov
306878c7a0
Write symbolized stack trace on failure one line at a time and uncached
2019-08-18 01:39:26 +03:00
Alexey Milovidov
cf525890da
Handle faults in printing stack trace
2019-08-18 00:42:47 +03:00
Alexey Milovidov
71dc0f29c2
Always print non-symbolized stack trace in addition to the full stack trace.
2019-08-18 00:27:25 +03:00
Alexey Milovidov
081f1bedc2
Allowed to use SIGPROF to print stack traces for debugging purposes
2019-08-18 00:13:38 +03:00
Alexey Milovidov
2cd669fa1d
Minor improvement
2019-08-17 23:33:50 +03:00
Alexey Milovidov
048ac1dde2
Removed "already_signal_handled" guard, because it is not actual
2019-08-17 23:26:11 +03:00
Nikita Mikhaylov
845f4482aa
better
2019-08-12 18:28:28 +03:00
Nikita Mikhaylov
ad5c7c0b65
done
2019-08-12 18:16:23 +03:00
Alexey Milovidov
5830526fa1
Slightly better information messages
2019-08-11 23:37:53 +03:00
alexey-milovidov
30f8529e04
Merge pull request #6325 from kreuzerkrieg/Shadow4GCC
...
adding -Wshadow for GCC
2019-08-10 17:29:10 +03:00
kreuzerkrieg
112fc71276
adding -Wshadow for GCC
2019-08-09 23:58:16 +03:00
proller
ff009a28d2
Arcadia build fixes
2019-08-09 18:42:52 +03:00
Alexey Milovidov
910e98ef02
Changed boost::filesystem to std::filesystem
2019-08-07 18:52:08 +03:00
Alexey Milovidov
c16b90a0e8
Changed separator of file and function to semicolon
2019-08-04 18:53:12 +03:00
alexey-milovidov
a0599214ef
Merge pull request #6103 from nikitamikhaylov/system_text_log
...
Allow to write ClickHouse text logs into system table.
2019-08-04 17:51:34 +03:00
alexey-milovidov
14671d6df8
Merge pull request #6254 from yandex/fastops
...
Integration with "FastOps" library. Added functions sigmoid and tanh.
2019-08-04 06:28:34 +03:00
Alexey Milovidov
d8eae1f83a
Disable query profiler if we build with test coverage
2019-08-03 23:47:57 +03:00
Alexey Milovidov
b9d39f4882
Merge branch 'master' into fastops
2019-08-03 06:24:33 +03:00
Alexey Milovidov
62053314bb
Fixed FPE in yandexConsistentHash
2019-08-03 01:40:28 +03:00
Nikita Mikhaylov
a9fea0314e
better style
2019-08-01 13:31:29 +03:00
Alexey Milovidov
99b9d354f7
Fixed glibc compatibility
2019-08-01 06:20:54 +03:00
Nikita Mikhaylov
b21c89b4eb
redudant braces
2019-08-01 00:59:26 +03:00
Nikita Mikhaylov
96e5a88a42
;
2019-07-31 18:48:56 +03:00
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
fec6ede519
Fixed glibc-compatibility
2019-07-30 03:15:01 +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
45c5dd8e61
Minor modifications
2019-07-26 03:09:36 +03:00
Alexey Milovidov
f4ec18b30f
Merge branch 'system_text_log' of https://github.com/nikitamikhaylov/ClickHouse into nikitamikhaylov-system_text_log
2019-07-26 01:51:19 +03: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
eb2533f898
Merge branch 'master' into merge-profiler
2019-07-26 00:40:27 +03:00
alexey-milovidov
6cf80466d4
Merge pull request #6152 from yandex/aku/oom-adj
...
In debug version on Linux, increase OOM score.
2019-07-25 23:17:44 +03:00
alexey-milovidov
a7cbbd4e4a
Update BaseDaemon.cpp
2019-07-25 23:17:17 +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
Alexander Kuzmenkov
399799d838
In debug version on Linux, increase OOM score.
...
This way, clickhouse is killed first, and not some important service.
2019-07-25 19:09:19 +03:00
avasiliev
734da9c839
Safer interface of mysqlxx::Pool
2019-07-25 15:10:29 +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
Nikita Mikhaylov
14b384f3e5
Merge branch 'master' into system_text_log
2019-07-23 15:51:04 +03:00
Alexey Milovidov
2d895c4fe6
Changed symbolizeTrace to symbolizeAddress
2019-07-23 15:46:58 +03:00
Nikita Mikhaylov
61412e7f74
changes after review + update config + resolve build fail
2019-07-23 11:22:38 +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
Nikita Mikhaylov
8289472b98
style improvements
2019-07-22 18:09:33 +03:00
Nikita Mikhaylov
c6667ff888
wip
2019-07-22 16:54:08 +03:00
Mikhail Filimonov
f13e18d4fb
atomic masker in channel
2019-07-19 10:23:51 +02:00
Mikhail Filimonov
9c2ae4513d
SensitiveDataMasker
2019-07-19 10:22:42 +02: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