Commit Graph

109 Commits

Author SHA1 Message Date
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 Lapkov
9d540abc84 refactor 2019-07-10 20:47:39 +00:00
Alexey Milovidov
5ffcaa462a Addition to prev. revision 2019-07-08 03:08:49 +03:00
Nikita Lapkov
7cff36fbfc Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-06-26 11:46:04 +00: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
Nikita Lapkov
06d370dee2 Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-05-25 16:23:08 +00:00
alexey-milovidov
61790d7417
Update Pool.cpp 2019-05-25 14:12:25 +03:00
Clément Rodriguez
e358fc8995 Fixe compilation 2019-05-24 16:44:32 +02:00
Clément Rodriguez
7b40d37212 Close MySQL connections after usage in MySQLDictionarySource 2019-05-23 15:09:07 +02:00
Nikita Lapkov
1dd87261ae move SleepFor* to libcommon 2019-05-19 09:14:23 +00:00
Alexey Milovidov
58d7d1e451 Resolved some of PVS-Studio warnings 2019-04-22 19:07:09 +03:00
Andrey Urusov
7a5597aeb3 mysqlxx::Pool is full checking exception fixed 2019-02-23 18:10:14 +03:00
Alexey Milovidov
ee953b4653 Fixed UB (requires performance testing) #3569 2018-12-26 03:31:51 +03: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
Alexey Milovidov
5e3b507bd6 Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988] 2018-09-17 06:09:56 +03:00
Alexey Milovidov
328c1387c0 Removed Poco::NumberFormatter [#CLICKHOUSE-2] 2018-08-20 22:35:04 +03:00
Alexey Milovidov
45cb92506b mysqlxx: fixed memory leak [#CLICKHOUSE-2] 2018-08-13 09:16:58 +03:00
proller
61059c3d9a Macos: allow build with mariadb-connector-c (#2715)
* Try fix version generate

* Macos: allow build with mariadb-connector-c
2018-07-25 14:29:26 +03:00
Alexey Milovidov
33205bba92 Disabled "LOAD DATA LOCAL INFILE" in mysql client because it has security issues [#CLOUDSECURITY-58] 2018-06-29 21:06:07 +03:00
Alexey Milovidov
180fbead43 Removed questionable code from CMakeLists (and obsolete test) [#CLICKHOUSE-2] 2018-05-09 07:24:36 +03:00
proller
c12d93a873 Allow build without rt library (#1963)
* Allow build without rt library

* fix
2018-02-26 03:19:42 +03:00
Alexey Zatelepin
87b72b8e39 rename musl_exp10 -> preciseExp10 for coding style compatibility 2018-02-16 17:51:14 +03:00
Alexey Zatelepin
8fdb68ef79 add musl_ prefix to exp10 functions to avoid confusion with symbols from the system libm 2018-02-16 17:01:50 +03:00
Alexey Milovidov
104b09604a Merging [#CLICKHOUSE-3114] 2017-12-28 00:45:05 +03:00
Alexey Milovidov
a6fef4f398 Miscellaneous [#CLICKHOUSE-2]. 2017-12-13 23:22:23 +03:00
Alexey Milovidov
ca38cf198c Whitespaces [#CLICKHOUSE-2]. 2017-12-13 22:55:45 +03:00
proller
741117a390
Fix freebsd build. Little cmake fixes. (#1634) 2017-12-13 22:07:12 +03:00
Alexey Milovidov
10392d5452 Fixed build on Mac OS X [#CLICKHOUSE-2]. 2017-10-14 02:12:06 +03:00
Bulat Gaifullin
7405dd5742 Add ssl options for MySQL connection #1217 2017-09-10 08:04:56 +03:00
Alexey Milovidov
8b313ab99e Fixed warnings found by cppcheck [#CLICKHOUSE-3300]. 2017-09-08 00:04:48 +03:00
proller
d6833a0d55 Cmake: remove global include_directories (#1055)
* Fix .h compile

* Cmake: remove global include_directories

* boost include hide

* fix cctz

* add \n
2017-08-03 15:44:39 +03:00
alexey-milovidov
3e03bf8e65 Update PoolWithFailover.cpp 2017-07-28 02:28:45 +03:00
Alexey Milovidov
aac6b8ed9f Fixed error in mysqlxx::PoolWithFailover (failover just doesn't work) [#CLICKHOUSE-3167]. 2017-07-28 00:07:41 +03:00
Alexey Milovidov
5bff1e0bfc Miscellaneous [#CLICKHOUSE-2]. 2017-07-27 23:52:14 +03:00
Alexey Milovidov
d08f06ee85 Miscellaneous [#CLICKHOUSE-2]. 2017-07-27 23:40:32 +03:00
Alexey Milovidov
c477c7e1cb Translated comments [#CLICKHOUSE-2]. 2017-07-27 23:22:53 +03:00
Nikolai Kochetov
116c889b42 translated comments for mysqlxx Connection adn Pool 2017-07-18 17:05:03 +03:00
Nikolai Kochetov
cfdbcb7fde added mysql socket connection 2017-07-18 17:05:03 +03:00
proller
4db8d09de9 Reorganize includes. part 1 (#921)
* Make libunwind optional. Allow use custom libcctz

* fix

* Fix

* fix

* Update BaseDaemon.cpp

* Update CMakeLists.txt

* Reorganize includes. part 1

* Update dbms_include.cmake

* Reorganize includes. part 2

* Reorganize includes. part 3

* dbms/src/Common/ThreadPool -> libs/libcommon

* Reorganize includes. part 4

* Fix print_include_directories

* Update thread_creation_latency.cpp

* Update StringRef.h
2017-06-23 23:22:35 +03:00
alexey-milovidov
c9c8c8ec50 Better option to disable mysqlclient (#710)
* Better support for disabling libmysqlclient [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:25:57 +03:00
proller
5db73c5d31 Allow build without libmysqlclient (#698)
* Allow build without libmysqlclient

* better condition

* cmake option ENABLE_MYSQL

* fix formatting

* Update find_mysqlclient.cmake

* Update find_mysqlclient.cmake

* Update Types.h

* Better throw's
2017-04-14 22:38:56 +03:00
Alexey Milovidov
137ad95929 Changed tabs to spaces in code [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0 Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//' 2017-03-31 19:00:30 +03:00
proller
1d7c5f63df Cmake: fix includes with PATH_SUFFIXES (#389) 2017-01-25 01:07:08 +04:00
alexey-milovidov
5ee4c205c8 Revert "Cmake: fix includes with PATH_SUFFIXES" (#388) 2017-01-25 00:52:00 +04:00
proller
b068ffb100 Cmake: fix includes with PATH_SUFFIXES (#387) 2017-01-24 23:54:35 +04:00
Alexey Milovidov
68cf046e6c Addition to prev. revision [#CLICKHOUSE-2716]. 2017-01-14 00:29:44 +03:00
Alexey Milovidov
d8f0170bb7 Addition to prev. revision [#CLICKHOUSE-2716]. 2017-01-14 00:24:59 +03:00
Alexey Milovidov
01b7c75d58 Addition to prev. revision [#CLICKHOUSE-2716]. 2017-01-14 00:24:29 +03:00