Dmitri Smirnov acb61b7a52 Adjust pread/pwrite to return Status
Summary:
Returning bytes_read causes the caller to call GetLastError()
  to report failure but the lasterror may be overwritten by then
  so we lose the error code.
  Fix up CMake file to include xpress source code only when needed.
  Fix warning for the uninitialized var.
Closes https://github.com/facebook/rocksdb/pull/3795

Differential Revision: D7832935

Pulled By: anand1976

fbshipit-source-id: 4be21affb9b85d361b96244f4ef459f492b7cb2b
2018-05-01 13:42:46 -07:00
..
2017-07-15 16:11:23 -07:00
2018-03-06 11:57:43 -08:00
2018-03-06 11:57:43 -08:00
2018-05-01 13:42:46 -07:00
2018-05-01 13:42:46 -07:00
2018-03-06 11:57:43 -08:00
2018-03-06 11:57:43 -08:00
2018-03-06 11:57:43 -08:00
2017-07-15 16:11:23 -07:00