Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dgraph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
dgraph
Commits
ef545b5b
Commit
ef545b5b
authored
9 years ago
by
Manish R Jain
Browse files
Options
Downloads
Plain Diff
Merge pull request #26 from hackintoshrao/master
Correction to execution instruction and reference to headers
parents
1b7bf16c
75b5b8d4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/merge/merge.cc
+3
-3
3 additions, 3 deletions
tools/merge/merge.cc
tools/merge/merge_heap.cc
+2
-3
2 additions, 3 deletions
tools/merge/merge_heap.cc
with
5 additions
and
6 deletions
tools/merge/merge.cc
+
3
−
3
View file @
ef545b5b
...
@@ -13,19 +13,19 @@
...
@@ -13,19 +13,19 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*
*
* compile : g++
rocks_
merge.cc <path_to_rocksDB_installation>/librocksdb.so.4.1 --std=c++11 -lstdc++fs
* compile : g++ merge.cc <path_to_rocksDB_installation>/librocksdb.so.4.1 --std=c++11 -lstdc++fs
* usage : ./<executable> <folder_having_rocksDB_directories_to_be_merged> <destination_folder>
* usage : ./<executable> <folder_having_rocksDB_directories_to_be_merged> <destination_folder>
*
*
* find the rocksdb headers here https://github.com/facebook/rocksdb/tree/master/include/rocksdb
*
*/
*/
#include
<fstream>
#include
<fstream>
#include
<cstdio>
#include
<cstdio>
#include
<iostream>
#include
<iostream>
#include
<string>
#include
<string>
#include
"rocksdb/db.h"
#include
"rocksdb/db.h"
#include
"rocksdb/options.h"
#include
"rocksdb/options.h"
#include
<experimental/filesystem>
#include
<experimental/filesystem>
using
namespace
rocksdb
;
using
namespace
rocksdb
;
...
...
This diff is collapsed.
Click to expand it.
tools/merge/merge_heap.cc
+
2
−
3
View file @
ef545b5b
...
@@ -13,9 +13,10 @@
...
@@ -13,9 +13,10 @@
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*
*
* compile : g++
rocks_
merge.cc <path_to_rocksDB_installation>/librocksdb.so.4.1 --std=c++11 -lstdc++fs
* compile : g++ merge
_heap
.cc <path_to_rocksDB_installation>/librocksdb.so.4.1 --std=c++11 -lstdc++fs
* usage : ./<executable> <folder_having_rocksDB_directories_to_be_merged> <destination_folder>
* usage : ./<executable> <folder_having_rocksDB_directories_to_be_merged> <destination_folder>
*
*
* rocksdb headers can be found here https://github.com/facebook/rocksdb/tree/master/include/rocksdb
*/
*/
#include
<fstream>
#include
<fstream>
...
@@ -24,10 +25,8 @@
...
@@ -24,10 +25,8 @@
#include
<string>
#include
<string>
#include
<queue>
#include
<queue>
#include
<vector>
#include
<vector>
#include
"rocksdb/db.h"
#include
"rocksdb/db.h"
#include
"rocksdb/options.h"
#include
"rocksdb/options.h"
#include
<experimental/filesystem>
#include
<experimental/filesystem>
using
namespace
rocksdb
;
using
namespace
rocksdb
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment