Skip to content

Backport #12140 to 20.5: Fix potential overflow in integer division#12248

Merged
alexey-milovidov merged 748 commits into20.5from
backport/20.5/12140
Jul 7, 2020
Merged

Backport #12140 to 20.5: Fix potential overflow in integer division#12248
alexey-milovidov merged 748 commits into20.5from
backport/20.5/12140

Conversation

@robot-clickhouse
Copy link
Member

Original pull-request #12140
Cherry-pick pull-request #12221

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

alexey-milovidov and others added 30 commits June 28, 2020 17:35
client exit with unrecognized arguments
Revert "[experiment] maybe fix warnings in integration tests"
…erate-random

Fix array size overflow in generateRandom
Avoid floating point error in geohashesInBox #11369
alexey-milovidov and others added 26 commits July 4, 2020 17:48
Added a showcase of minimal Docker image
Minor cmake fixes for UNBUNDLED build
Fix Parquet for LowCardinality
Fix result_rows and result_bytes metrics for selects.
Add missed <atomic> include in ProxyListConfiguration
Remove harmful code from "geoDistance"
* Integrated CachingAllocator into MarkCache

* fixed build errors

* reset func hotfix

* upd: Fixing build

* updated submodules links

* fix 2

* updating grabber allocator proto

* updating lost work

* updating CMake to use concepts

* some other changes to get it building (integration into MarkCache)

* further integration into caches

* updated Async metrics, fixed some build errors

* and some other errors revealing

* added perfect forwarding to some functions

* fix: forward template

* fix: constexpr modifier

* fix: FakePODAllocator missing member func

* updated PODArray constructor taking alloc params

* fix: PODArray overload with n restored

* fix: FakePODAlloc duplicating alloc() func

* added constexpr variable for alloc_tag_t

* split cache values by allocators, provided updates

* fix: memcpy

* fix: constexpr modifier

* fix: noexcept modifier

* fix: alloc_tag_t for PODArray constructor

* fix: PODArray copy ctor with different alloc

* fix: resize() signature

* updating to lastest working master

* syncing with 273267

* first draft version

* fix: update Searcher to case-insensitive

* added ILIKE test

* fixed style errors, updated test, split like and ilike,  added notILike

* replaced inconsistent comments

* fixed show tables ilike

* updated missing test cases

* regenerated ya.make

* Update 01355_ilike.sql

Co-authored-by: myrrc <[email protected]>
Co-authored-by: alexey-milovidov <[email protected]>
Fix potential overflow in integer division
…26a188209ceac51f708f0ba329f53

Cherry pick #12140 to 20.5: Fix potential overflow in integer division
@robot-clickhouse robot-clickhouse added the pr-backport Changes, backported to release branch. Do not use manually - automated use only! label Jul 7, 2020
@alexey-milovidov alexey-milovidov merged commit 67964e8 into 20.5 Jul 7, 2020
@alexey-milovidov alexey-milovidov deleted the backport/20.5/12140 branch July 7, 2020 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only!

Projects

None yet

Development

Successfully merging this pull request may close these issues.