Skip to content

Commit

Permalink
Update db/c.cc
Browse files Browse the repository at this point in the history
Co-Authored-By: dvdplm <dvdplm@gmail.com>
  • Loading branch information
ordian and dvdplm authored Apr 30, 2019
1 parent 8cbafee commit ff2cfe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/c.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ff2cfe9

Please sign in to comment.