From 282099fc0f1218d1918749acdf64a75ae7e3442b Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Mon, 30 Apr 2018 11:27:25 -0700 Subject: [PATCH] fix missing perfcontext destroy declare in C API Summary: `rocksdb_perfcontext_destroy` declare is missing in C API. Closes https://github.com/facebook/rocksdb/pull/3787 Differential Revision: D7816490 Pulled By: ajkr fbshipit-source-id: 3a488607bfc897c7ce846a1b3c2b7af693134d0d --- include/rocksdb/c.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/rocksdb/c.h b/include/rocksdb/c.h index be6d7a842..f840a3265 100644 --- a/include/rocksdb/c.h +++ b/include/rocksdb/c.h @@ -1076,6 +1076,8 @@ extern ROCKSDB_LIBRARY_API char* rocksdb_perfcontext_report( rocksdb_perfcontext_t* context, unsigned char exclude_zero_counters); extern ROCKSDB_LIBRARY_API uint64_t rocksdb_perfcontext_metric( rocksdb_perfcontext_t* context, int metric); +extern ROCKSDB_LIBRARY_API void rocksdb_perfcontext_destroy( + rocksdb_perfcontext_t* context); /* Compaction Filter */