Commit Graph

30 Commits

Author SHA1 Message Date
Alexey Milovidov
996eafada9 Revert "Remove hard-coded paths in Interpreters/Compiler.cpp"
This reverts commit 3a97fbd0e7.
2018-01-09 20:49:25 +03:00
Alexey Milovidov
f630e4b0a6 Revert "Update gen-compiler-includes.sh"
This reverts commit 6b758edbbc.
2018-01-09 20:49:22 +03:00
alexey-milovidov
6b758edbbc Update gen-compiler-includes.sh 2018-01-09 20:24:25 +03:00
Roman Tsisyk
3a97fbd0e7 Remove hard-coded paths in Interpreters/Compiler.cpp
Interpreters/Compiler.cpp contained hard-coded paths for system's
includes needed for query compiler. These paths were not portable
between different Linux distros and gcc/clang versions. For example,
Debian/Ubuntu use /usr/lib/gcc/x86_64-linux-gnu/*/include,
RHEL/Fedora use /usr/lib/gcc/x86_64-redhat-linux/*/include,
others use /usr/lib/gcc/*/include (without x86_64-XXX triplet).

Patch 68850012b "Embedded compiler fixes" attempted to fix this problem
by adding CMAKE_LIBRARY_ARCHITECTURE after /usr/lib. Unfortunally,
CMAKE_LIBRARY_ARCHITECTURE is not defined on RHEL/Fedora because someone
decided to omit "-gnu" from x86_64-redhat-linux (see RHBZ#1531678).

Patch 70e35d0bc "Build fixes (#1718)" added a workaround for
undefined CMAKE_LIBRARY_ARCHITECTURE on RHEL/Fedora, but hasn't fixed
problem with missing /usr/lib/gcc/x86_64-redhat-linux/*/include/
in the list of hardcoded paths.

Remove hard-coded paths and get the list of `-isystem` includes directly
from bundled clickhouse-clang.

Other changes:

- Enable RPATH for the build directory to get working binaries
  without installing them by `make install`.
2018-01-09 20:24:25 +03:00
Alexey Milovidov
31f7fe42d6 Fool's day changed, continued [#CLICKHOUSE-3]. 2017-04-05 14:52:23 +03:00
Ravengg
b079dacfd1 Added part_log with statistics scripts (#549)
* Added part_log

* first_test

* filter and hits_res

* Add renamer and drawer

* Add columns database and table into PartLog

* Add normal way to get table_name and database_name from part

* improve drawer

* add stats for random size parts

* Merge converter and drawer

* make drawer more informative

* add new data

* add new data

* new data

* add long range stats

* for checking best way

* Add add_parts script

* Good style for global merge

* delete commented code

* Fixed spaces to tabs

* Note that Stopwatch is started automatically.

* Style

* Update StorageMergeTree.cpp

* Update StorageReplicatedMergeTree.cpp

* Switch act_time_ms to duration_ms

* Added ability to disable part_log

* fixed getPartLog

* fix usage getPartLog

* fix
2017-03-07 21:13:54 +04:00
proller
9c3133deac wip 2017-01-25 16:17:13 +03:00
Alexey Milovidov
e37f770b84 Removed useless file [#METR-20000]. 2016-05-26 21:25:57 +03:00
Alexey Arno
6c4cd4a0aa dbms: Server: Script cleanup. [#METR-17276] 2015-09-02 19:21:24 +03:00
Alexey Arno
047f492011 dbms: Server: Script cleanup. [#METR-17276] 2015-09-02 17:49:57 +03:00
Alexey Arno
d0841295c6 dbms: Server: Updated scripts. [#METR-17276] 2015-08-31 16:08:10 +03:00
Alexey Arno
bdbfcbc42b dbms: Server: Updated script. [#METR-17276] 2015-08-31 16:01:57 +03:00
Alexey Arno
cad07f89a5 dbms: Server: Feature development. [#METR-17276] 2015-08-28 14:02:35 +03:00
Alexey Arno
3f881dd441 dbms: Server: Feature development. [#METR-17276] 2015-08-27 14:24:32 +03:00
Alexey Arno
49a242f42a dbms: Server: Feature development. [#METR-17276] 2015-08-26 15:21:47 +03:00
Alexey Arno
b25b86610d dbms: Server: Huge simplification. [#METR-17276] 2015-08-26 14:01:19 +03:00
Alexey Arno
1b7ce7904a dbms: Server: Feature development. [#METR-17276] 2015-08-26 13:11:06 +03:00
Alexey Arno
da4163599b dbms: Server: Improved the performance of the script. [#METR-17276] 2015-08-26 02:07:39 +03:00
Alexey Arno
98b45a815b dbms: Server: Tweak. [#METR-17276] 2015-08-25 20:34:33 +03:00
Alexey Arno
836b883f55 dbms: Server: Added http_port option. [#METR-17276] 2015-08-25 20:34:06 +03:00
Alexey Arno
19b2a16715 dbms: Server: Updated script. [#METR-17276] 2015-08-25 20:29:50 +03:00
Alexey Arno
2445979c2e dbms: Server: Switched to python 3. [#METR-17276] 2015-08-25 19:44:45 +03:00
Alexey Arno
2c61eacd03 dbms: Server: Added script that generates bias data. [#METR-17276] 2015-08-24 18:45:09 +03:00
Alexey Milovidov
b5383147c6 Update README 2015-04-21 23:44:46 +03:00
Alexey Milovidov
369a9441ee dbms: Removed old scripts [#MTRSADMIN-1121]. 2015-03-27 22:58:35 +03:00
Alexey Milovidov
0d51957607 dbms: calculating population of regions by population of children [#METR-13326]. 2014-11-20 03:17:43 +03:00
Alexey Milovidov
c5635ce6d9 dbms: added function regionToPopulation; clickhouse-server, ███████████, ███████████, ███████████ needs to be released before regions_hierarchy.txt change [#METR-13326]. 2014-11-20 03:05:14 +03:00
Alexey Milovidov
5d4d84052f dbms: added missing file [#METR-2944]. 2014-09-11 21:46:41 +04:00
Vyacheslav Alipov
0f8bd06a62 RegionsNames development [#CONV-7735] 2013-06-05 10:41:36 +00:00
Vyacheslav Alipov
6f909ada4e geobase_to_regions_names.pl script added [#CONV-7735] 2013-06-03 11:53:07 +00:00