-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[clickhouse-cpp] update to 1.5.0 #18330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
BillyONeal
merged 13 commits into
microsoft:master
from
JonLiu1993:dev/Jon/clickhouse-cpp
Sep 17, 2021
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9893f75
[clickhouse-cpp] update to 1.2.2
JonLiu1993 ec1f562
update version
JonLiu1993 87b5b21
[clickhouse-cpp] update to 1.5.0
JonLiu1993 83f29ba
update version
JonLiu1993 53e7d04
fix error c4996
JonLiu1993 c0ca984
update version
JonLiu1993 2ae4902
handle Conflicting files
JonLiu1993 7e9518b
merge baseline.json
JonLiu1993 6b99c21
update baseline.json
JonLiu1993 1c6fe82
add Add patch description
JonLiu1993 0f4f28d
update version
JonLiu1993 3e8f8cd
Add patch comment
JonLiu1993 1752f1e
update version
JonLiu1993 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| diff --git a/clickhouse/CMakeLists.txt b/clickhouse/CMakeLists.txt | ||
| index 7e10ffd..cbbffdc 100644 | ||
| --- a/clickhouse/CMakeLists.txt | ||
| +++ b/clickhouse/CMakeLists.txt | ||
| @@ -31,6 +31,10 @@ SET ( clickhouse-cpp-lib-src | ||
| query.cpp | ||
| ) | ||
|
|
||
| +if (MSVC) | ||
| + add_compile_options(/wd4996) | ||
| +endif() | ||
| + | ||
| ADD_LIBRARY (clickhouse-cpp-lib SHARED ${clickhouse-cpp-lib-src}) | ||
| SET_TARGET_PROPERTIES(clickhouse-cpp-lib PROPERTIES LINKER_LANGUAGE CXX) | ||
| TARGET_LINK_LIBRARIES (clickhouse-cpp-lib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| diff --git a/clickhouse/columns/decimal.cpp b/clickhouse/columns/decimal.cpp | ||
| index 7334bb1..41d43b6 100644 | ||
| --- a/clickhouse/columns/decimal.cpp | ||
| +++ b/clickhouse/columns/decimal.cpp | ||
| @@ -27,7 +27,7 @@ inline bool mulOverflow(const Int128 & l, const T & r, Int128 * result) | ||
|
|
||
| #else | ||
| template <typename T> | ||
| -inline bool getSignBit(const T & v) | ||
| +inline bool getSignBit(const T & (long double v)) | ||
| { | ||
| return std::signbit(v); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,18 @@ | ||
| { | ||
| "name": "clickhouse-cpp", | ||
| "version-string": "2019-05-22", | ||
| "port-version": 1, | ||
| "description": "C++ client for Yandex ClickHouse.", | ||
| "homepage": "https://github.com/artpaul/clickhouse-cpp", | ||
| "version": "1.5.0", | ||
| "description": "C++ client for Yandex ClickHouse", | ||
| "homepage": "https://github.com/ClickHouse/clickhouse-cpp", | ||
| "dependencies": [ | ||
| "cityhash", | ||
| "lz4" | ||
| "lz4", | ||
| { | ||
| "name": "vcpkg-cmake", | ||
| "host": true | ||
| }, | ||
| { | ||
| "name": "vcpkg-cmake-config", | ||
| "host": true | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.