forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
57506: colfetcher: fix kvtrace logic test option for inverted index scans r=mgartner a=mgartner #### rowenc: fix kvtrace logic test option for JSON inverted index scans Previously, `kvtrace` logic tests of queries that performed JSON inverted index scans would error if the scan output any rows. When `cFetcher` attempted to decode the JSON portion of the key, `rowenc.DecodeTableKey` returned an empty `[]byte` as the portion of the key remaining after the JSON value. Attempting to decode this empty `[]byte` as the primary key value caused an error. Now, `rowenc.DecodeTableKey` will correctly return the remaining bytes of the key after the JSON value. Note that this function still does not actually decode the JSON value. Release note: None #### encoding: fix typos in DecodeVarintAscending and DecodeVarintDescending Release note: None Co-authored-by: Marcus Gartner <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 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 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