Commit Graph

72 Commits

Author SHA1 Message Date
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
Alexey Milovidov
d26f045819 Addition to prev. revision [#CLICKHOUSE-2716]. 2017-01-14 00:18:07 +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
Alexey Milovidov
050fc12824 mysqlxx: updated for compatibility with CentOS [#METR-20000]. 2016-12-12 09:45:46 +03:00
Vladimir Chebotarev
a86e56cd1f cmake: Special treating of rt in some cases. [#METR-21516] 2016-12-07 00:01:19 +03:00
Vladimir Chebotarev
eb552f2943 cmake: Improved copy_headers.sh script, minor fixes. [#METR-21516] 2016-12-06 21:04:10 +03:00
Vladimir Chebotarev
ca5c1dc31b cmake: Improved build. [#METR-21516] 2016-12-06 19:51:34 +03:00
Vladimir Smirnov
d36f52502e Make it compilable on OS X
It's still hackish and dirty, but server and client compies.

Server starts, but throwes meaningless exception on any query.

Client seems to be working fine.

Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
c518abe882 Get rid of Poco::SharedPtr [#METR-21503]. 2016-05-28 20:31:50 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
df1d66e51a Removed sensitive data. 2016-02-08 00:58:58 +03:00
Alexey Milovidov
3519c3cea2 dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973]. 2016-02-03 04:17:58 +03:00
Alexey Milovidov
18ed0b2829 dbms: external dictionaries: fixed errors [#METR-17508]. 2015-08-12 07:21:10 +03:00
Andrey Mironov
7c9b2a1789 dbms: temporarily allow <table> element in mysqlxx::PoolWithFailover config [#METR-13298] 2015-03-06 16:38:07 +03:00
Andrey Mironov
b3c32ace59 mysqlxx: copy constructor for pools [#METR-13298] 2015-02-05 21:51:19 +03:00
Alexey Milovidov
3d359e2b82 Partially get rid of time2str.h [#METR-13554]. 2014-11-06 09:32:23 +03:00
Alexey Milovidov
2727fef911 dbms: removed few functions [#METR-13554]. 2014-11-06 04:31:50 +03:00
Michael Kolupaev
5bbb6dc090 some grammar fixes. [#METR-2807] 2014-08-12 13:35:15 +04:00
Alexey Milovidov
94ed780065 ███████████: intrusive: development [#METR-12050]. 2014-07-26 08:12:43 +04:00
Alexey Milovidov
34eeed7ed3 Renamed mysqlxx::String and sqxxl::String to mysqlxx::Value and sqxxl::Value [#METR-2807]. 2014-05-20 02:05:33 +04:00
Alexey Milovidov
63cff6a5a4 Improvement [#METR-2807]. 2014-04-08 11:58:53 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Pavel Kartavyy
ce5ff538ec mysqlxx: fix [METR-9429] 2013-12-09 19:16:48 +00:00
Pavel Kartavyy
2fab08ae10 libmysqlxx: enabled empty password. refactoring [#METR-8598] 2013-10-29 09:27:10 +00:00
Alexey Milovidov
fa7a666a96 mysqlxx: added server address to exception messages [#METR-9068]. 2013-10-26 02:50:23 +00:00
Alexey Milovidov
c46b9253f3 PoolWithFailover: changed error to warning [#METR-9062]. 2013-10-24 17:49:14 +00:00
Pavel Kartavyy
a933ed4e43 libmysqlxx: optimized build time and project view in qtcreator [#CONV-8598] 2013-09-05 11:44:10 +00:00
Alexey Milovidov
be67c3e3d6 Removed useless namespace [#CONV-2807]. 2013-08-11 03:40:14 +00:00
Michael Kolupaev
d211d5b185 libmysqlxx: improved test [#CONV-7043]. 2013-04-18 10:36:49 +00:00
Michael Kolupaev
3e12bc0c14 libmysqlxx: added test [#CONV-7043]. 2013-04-18 10:23:40 +00:00
Alexey Milovidov
1f375250d6 mysqlxx: added read/write timeouts [#CONV-7093]. 2013-03-31 01:16:35 +00:00
Alexey Milovidov
4157959cb7 mysqlxx: fixed error with libmysqlclient [#CONV-3336]. 2011-11-30 19:14:06 +00:00
Alexey Milovidov
cb5be1a84f mysqlxx: fixed error [#CONV-3336]. 2011-10-13 23:43:14 +00:00
Alexey Milovidov
ac9b26cc29 mysqlxx: fixed error with libmysqlclient_r [#CONV-3336]. 2011-10-10 20:32:42 +00:00
Alexey Milovidov
bbb966b677 mysqlxx: compatibility with new libmysqlclient; allowed to specify connect timeout in config file [#CONV-3336]. 2011-10-05 20:21:18 +00:00
Alexey Milovidov
2b5d719414 mysqlxx: added option MYSQL_OPT_LOCAL_INFILE [#CONV-3016]. 2011-08-23 17:46:58 +00:00
Alexey Milovidov
d4ac9fe904 mysqlxx: removed MYSQL_OPT_READ_TIMEOUT [#CONV-2647]. 2011-06-29 19:59:20 +00:00