Revision 27ec3b34667782d3a98176302e2206ea54f4bd19 authored by sdong on 20 November 2019, 18:35:56 UTC, committed by Facebook Github Bot on 20 November 2019, 18:38:01 UTC
Summary:
The new DB::MultiGet() doesn't validate input for num_keys > 1 and GCC-9 complains about it. Fix it by directly return when num_keys == 0
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6054

Test Plan: Build with GCC-9 and see it passes.

Differential Revision: D18608958

fbshipit-source-id: 1c279aff3c7fe6e9d5a6d085ed02550ecea4fdb2
1 parent 0306e01
History
File Mode Size
win
README -rw-r--r-- 405 bytes
jemalloc_helper.h -rw-r--r-- 3.4 KB
likely.h -rw-r--r-- 690 bytes
malloc.h -rw-r--r-- 656 bytes
port.h -rw-r--r-- 834 bytes
port_dirent.h -rw-r--r-- 1.0 KB
port_example.h -rw-r--r-- 3.5 KB
port_posix.cc -rw-r--r-- 6.1 KB
port_posix.h -rw-r--r-- 5.8 KB
stack_trace.cc -rw-r--r-- 3.5 KB
stack_trace.h -rw-r--r-- 648 bytes
sys_time.h -rw-r--r-- 1.1 KB
util_logger.h -rw-r--r-- 823 bytes
xpress.h -rw-r--r-- 687 bytes

README

back to top