mirror of https://github.com/facebook/rocksdb.git
Add the default WritableFile::GetFileSize implementation back for com… (#11927)
Summary: As mentioned in https://github.com/facebook/rocksdb/issues/11726, we should defer user feasible API changes to major release. Pull Request resolved: https://github.com/facebook/rocksdb/pull/11927 Reviewed By: anand1976 Differential Revision: D50016723 Pulled By: jowlyzhang fbshipit-source-id: 59781442602fadb9906e37aad2021e3178723db5
This commit is contained in:
parent
1d5bddbc58
commit
2dc63c8911
|
@ -1001,7 +1001,7 @@ class WritableFile {
|
|||
/*
|
||||
* Get the size of valid data in the file.
|
||||
*/
|
||||
virtual uint64_t GetFileSize() = 0;
|
||||
virtual uint64_t GetFileSize() { return 0; };
|
||||
|
||||
/*
|
||||
* Get and set the default pre-allocation block size for writes to
|
||||
|
|
Loading…
Reference in New Issue