-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2021-03-08
The setKey function accepts a key by const reference, but this is problematic because the WT set_key API requires the key to exist after the API call.
To avoid misuse of the API by callers passing in a temporary, require callers to pass a key by pointer.