Remove casts for uint8_t and uint16_t in CQL index and name binder
Base CQL type is int (int32_t) so no need to cast to int8_t and int16_t
for uint8_t and uint16_t respectively. The casts were causing
range queries on column name values greater than int8_t and int16_t to
fail.
Reviewed: https:/ /review. opencontrail. org/23214 github. org/Juniper/ contrail- controller/ commit/ eb6f11ff6a0a71c a9ac58acfbc5f19 a24fc7cf6f
Committed: http://
Submitter: Zuul
Branch: R3.0.2.x
commit eb6f11ff6a0a71c a9ac58acfbc5f19 a24fc7cf6f
Author: Megh Bhatt <email address hidden>
Date: Thu Aug 4 01:31:10 2016 -0700
Remove casts for uint8_t and uint16_t in CQL index and name binder
Base CQL type is int (int32_t) so no need to cast to int8_t and int16_t
for uint8_t and uint16_t respectively. The casts were causing
range queries on column name values greater than int8_t and int16_t to
fail.
Conflicts: test/utils/ analytics_ fixture. py
src/opserver/
Change-Id: I85ad4412c66bd9 f0e5fc268980f73 44726c7f79c 5dab63c11834cc4 86cac2507b) 0f58844fc5ef165 eca0256a66)
Closes-Bug: #1607479
(cherry picked from commit 7339fd791f53ce3
(cherry picked from commit 732d3ecc77ff47d