Commit Graph

191 Commits

Author SHA1 Message Date
Alexey Vasiliev
7ec4530354 Added explicit copy constructor for mysqlxx::Null 2017-10-17 20:01:01 +03:00
Alexey Vasiliev
59309432f9 Updated copy/move operations for some types, https://nda.ya.ru/3TWvPE 2017-10-17 14:58:08 +03:00
Alexey Milovidov
10392d5452 Fixed build on Mac OS X [#CLICKHOUSE-2]. 2017-10-14 02:12:06 +03:00
proller
7d0e5e786e Compile fixes 2017-09-24 15:41:29 +03:00
Bulat Gaifullin
7405dd5742 Add ssl options for MySQL connection #1217 2017-09-10 08:04:56 +03:00
Alexey Milovidov
e9ae193870 Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
Alexey Milovidov
8b313ab99e Fixed warnings found by cppcheck [#CLICKHOUSE-3300]. 2017-09-08 00:04:48 +03:00
proller
f68a0ea63b Fix mysql includes and remove libmariadb submodule (#1185)
* Use bundled libmariadbclient (CLICKHOUSE-3261)

* wip

* wip

* wip

* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh

* Fix mysql includes

* Cmake: don't install mariadb targets

* Fix generated includes

* Disable mysql tests

* cmake: mariadb fixes

* Fix

* Update find_mysqlclient.cmake

* Fix zlib

* Remove bundled contrib/mariadb-connector-c

* fix

* Fix build

* Fix includes
2017-09-04 20:04:33 +03:00
proller
3269b1da57 libmariadb as submodule (CLICKHOUSE-3261) (#1181)
* Use bundled libmariadbclient (CLICKHOUSE-3261)

* wip

* wip

* wip

* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh
2017-08-31 20:11:30 +03:00
proller
221110454e Prefer mariadbclient 2017-08-29 20:32:15 +03:00
blazerer
a11759c75b mysqlxx transaction exception safety
Fix terminate on exception and rollback query fail.
2017-08-16 18:30:05 +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
18e5c3bdc7 Miscellaneous [#CLICKHOUSE-2]. 2017-07-28 18:28:57 +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
Alexey Milovidov
9bb647d5d5 Translated comment [#CLICKHOUSE-2]. 2017-07-27 22:58:25 +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
Alexey Milovidov
86eb4d2d06 Renamed Singleton to avoid conflicts with Arcadia* codebase [#DEVTOOLS-3343].
* - "Arcadia" is the name of Yandex's monorepo.
2017-07-10 07:34:14 +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
35abae95c8 Allow to disable ICU (#711)
* Allow to disable ICU [#CLICKHOUSE-2].

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

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

* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 04:06:29 +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
Alexey Milovidov
41e97787e3 Less dependencies [#CLICKHOUSE-2]. 2017-04-16 08:40:17 +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
proller
72ccc69212 Debian: simpler package (#662)
* Allow use external re2 with re2_st=re2

* fix

* remove dupe

* use re2_st in FunctionsStringSearch.h

* fix

* move files from tools/etc to debian

* dont generate control

* version

* ok.

* wip

* Cmake: dont touch CMAKE_INSTALL_PREFIX

* wip

* works!

* clean

* okay

* like old

* wip

* wip

* okay

* clickhouse-server-base-dbg

* clean

* clickhouse-server-dbg

* Debian: Remove daemons

* Update rules

* add source/format

* control clean

* add watch

* clean

* clean

* temp fix build

* clean

* docs

* fake make_control

* fix

* testme

* testme

* add metrika package

* fake metrika files
2017-04-10 20:43:30 +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
Alexey Milovidov
1c6c751108 Better overloads [#CLICKHOUSE-2]. 2017-03-13 22:23:56 +03:00
alexey-milovidov
cee5ab01fb Merge branch 'master' into merge_with_metrika 2017-02-11 00:27:15 +04:00
proller
9bbe8fe5c4 Dynamic library mode (#471)
* Cmake: UNBUNDLED option

* Dynamic library mode
2017-02-08 22:53:00 +04:00
proller
f87ae6808f cmake: USE_INTERNAL_ZLIB_LIBRARY (#463)
* Correct fix of building with external poco with disabled sending progress

    Revert "Removed wrong code [#CLICKHOUSE-2]."

    This reverts commit 33f9917f53.

* fix

* fix

* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
Pavel Kartavyy
224ba16dcb use project source and binary dirs instead of global dirs 2017-02-06 18:15:19 +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
proller
38040f5323 Сmake: more info in message about libreadline (#376)
* Cmake: more info in message about libreadline

* icu cmake

* cmake: glib message
2017-01-20 23:57:30 +04:00
proller
29475c94c0 Reorganize includes, less depends in .h files 2017-01-16 22:47:11 +03: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
Alexey Milovidov
d26f045819 Addition to prev. revision [#CLICKHOUSE-2716]. 2017-01-14 00:18:07 +03:00
Alexey Milovidov
a86a86aa68 Addition to prev. revision [#CLICKHOUSE-2716]. 2017-01-14 00:07:25 +03:00
Alexey Milovidov
fdc2464c78 Do not expose MySQL headers in headers of mysqlxx library [#CLICKHOUSE-2716]. 2017-01-13 23:37:37 +03:00
proller
ee3882f251 Allow link with external libs: poco, tcmalloc 2017-01-13 14:25:44 +03:00
proller
4bfa697656 Add more search paths to find_mysqlclient.cmake, rename find_libmysqlclient.cmake -> find_mysqlclient.cmake 2017-01-12 15:20:43 +03:00
Alexey Zatelepin
ceb4d4a3a5 fix build (do not remove my_compress.c.o from libmysqlclient.a) [#METR-23582] 2017-01-09 22:54:40 +03:00
Alexey Zatelepin
1c5db52d7d remove zlib code compiled into libmysqlclient.a (fix precise build) [#METR-23582] 2017-01-09 22:12:36 +03:00