Skip to content

Commit b9957c9

Browse files
zaidoon1facebook-github-bot
authored andcommitted
actually expose rocksdb_status_ptr_get_error via c api (facebook#13875)
Summary: the function implementation is here: https://github.com/facebook/rocksdb/blob/8f0ab1598effd4b05f6f88310c7bd9aaf5d418c6/db/c.cc#L928-L930 but it wasn't fully exposed Pull Request resolved: facebook#13875 Reviewed By: hx235 Differential Revision: D80717828 Pulled By: cbi42 fbshipit-source-id: d6aaa984f24e469aa8ddb81524dc156b85e891f2
1 parent 444f1ed commit b9957c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • include/rocksdb

include/rocksdb/c.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,8 @@ extern ROCKSDB_LIBRARY_API void rocksdb_reset_status(
11751175
rocksdb_status_ptr_t* status_ptr);
11761176
extern ROCKSDB_LIBRARY_API uint32_t
11771177
rocksdb_flushjobinfo_flush_reason(const rocksdb_flushjobinfo_t* info);
1178+
extern ROCKSDB_LIBRARY_API void rocksdb_status_ptr_get_error(
1179+
rocksdb_status_ptr_t* status, char** errptr);
11781180

11791181
/* Compaction job info */
11801182
extern ROCKSDB_LIBRARY_API void rocksdb_compactionjobinfo_status(

0 commit comments

Comments
 (0)