You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Igor Canadi
767777c2bd
Turn on -Wshorten-64-to-32 and fix all the errors
...
Summary:
We need to turn on -Wshorten-64-to-32 for mobile. See D1671432 (internal phabricator) for details.
This diff turns on the warning flag and fixes all the errors. There were also some interesting errors that I might call bugs, especially in plain table. Going forward, I think it makes sense to have this flag turned on and be very very careful when converting 64-bit to 32-bit variables.
Test Plan: compiles
Reviewers: ljin, rven, yhchiang, sdong
Reviewed By: yhchiang
Subscribers: bobbaldwin, dhruba, leveldb
Differential Revision: https://reviews.facebook.net/D28689
10 years ago
..
utilities
CompactFiles, EventListener and GetDatabaseMetaData
10 years ago
c.h
Remove allow_thread_local
11 years ago
cache.h
Remove unused member(s)
11 years ago
compaction_filter.h
Add missing include to use std::unique_ptr
11 years ago
comparator.h
CompactFiles, EventListener and GetDatabaseMetaData
10 years ago
db.h
Fixed the shadowing in db/compaction.cc and include/rocksdb/db.h
10 years ago
env.h
Turn on -Wshorten-64-to-32 and fix all the errors
10 years ago
filter_policy.h
Implement full filter for block based table.
11 years ago
flush_block_policy.h
move block based table related options BlockBasedTableOptions
11 years ago
immutable_options.h
CompactFiles, EventListener and GetDatabaseMetaData
10 years ago
iostats_context.h
Fix ios compile
11 years ago
iterator.h
Add License message to public header files.
11 years ago
ldb_tool.h
[RocksDB] allow LDB tool to have customized key formatter
11 years ago
listener.h
Fix -Wnon-virtual-dtor errors
10 years ago
memtablerep.h
SkipListRep::LookaheadIterator
11 years ago
merge_operator.h
Enhance partial merge to support multiple arguments
11 years ago
metadata.h
Fixed -WShadow errors in db/db_test.cc and include/rocksdb/metadata.h
10 years ago
options.h
Fix NewFileNumber()
10 years ago
perf_context.h
Add a function to return current perf level
11 years ago
rate_limiter.h
expose RateLimiter definition
11 years ago
slice.h
Fix implicit compare
10 years ago
slice_transform.h
Add License message to public header files.
11 years ago
sst_dump_tool.h
Expose sst_dump functionality as library call.
10 years ago
statistics.h
Push- instead of pull-model for managing Write stalls
11 years ago
status.h
CompactFiles, EventListener and GetDatabaseMetaData
10 years ago
table.h
Sanitize block-based table index type and check prefix_extractor
11 years ago
table_properties.h
TablePropertiesCollectorFactory
11 years ago
transaction_log.h
Revert "Fix bad merge of D16791 and D16767"
11 years ago
types.h
Add License message to public header files.
11 years ago
universal_compaction.h
Support Multiple DB paths (without having an interface to expose to users)
11 years ago
version.h
Bump Version Number to 3.8
10 years ago
write_batch.h
WriteBatchWithIndex: a wrapper of WriteBatch, with a searchable index
11 years ago