From ff2cfe93d67bc268b6f3739a64b7484328968e61 Mon Sep 17 00:00:00 2001 From: Andronik Ordian Date: Tue, 30 Apr 2019 15:30:28 +0200 Subject: [PATCH] Update db/c.cc Co-Authored-By: dvdplm --- db/c.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/c.cc b/db/c.cc index d000a158122..aac1cf4087c 100644 --- a/db/c.cc +++ b/db/c.cc @@ -1075,7 +1075,7 @@ int rocksdb_property_int_cf( rocksdb_column_family_handle_t* column_family, const char* propname, uint64_t *out_val) { - if (db->rep->GetIntProperty(column_family->rep, (propname), out_val)) { + if (db->rep->GetIntProperty(column_family->rep, Slice(propname), out_val)) { return 0; } else { return -1;