Commit 2f7b1dd
committed
MB-65809 MB-71122 Proper handling of defined integer type
We have a couple of types defined in the code for plan stability
mode and plan stability error policy. We also have an utility
function that deals with potentially different number types in
JSON and return an integer representation of the number. The
issue with this bug is that the utility function did not properly
handle the defined integer types such that it did not properly
return the integer value if the input is of one of these defined
types.
The fix is to add handling of the defined types in the utility
function.
Change-Id: I0ffeddbdd4af79488b3b12f97baf123e9d416499
Reviewed-on: https://review.couchbase.org/c/query/+/242345
Tested-by: Bingjie Miao <bingjie.miao@couchbase.com>
Reviewed-by: Sitaram Vemulapalli <sitaram.vemulapalli@couchbase.com>1 parent fa51f8e commit 2f7b1dd
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
297 | 301 | | |
298 | 302 | | |
299 | 303 | | |
0 commit comments