diff options
author | Peng Wu <alexepico@gmail.com> | 2016-01-27 16:02:26 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-01-27 16:02:26 +0800 |
commit | 82e482b394d08ee2001cfbccc8fe72cf8fa9e438 (patch) | |
tree | 6e3e1f0e86f6961791076fe057e75e785fef1c0c /src/storage/phrase_large_table3_bdb.cpp | |
parent | b564ca7a9266364f538ec548b02c1eee64c4d373 (diff) | |
download | libpinyin-82e482b394d08ee2001cfbccc8fe72cf8fa9e438.tar.gz libpinyin-82e482b394d08ee2001cfbccc8fe72cf8fa9e438.tar.xz libpinyin-82e482b394d08ee2001cfbccc8fe72cf8fa9e438.zip |
rename load/store to load_db/store_db methods
Diffstat (limited to 'src/storage/phrase_large_table3_bdb.cpp')
-rw-r--r-- | src/storage/phrase_large_table3_bdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/phrase_large_table3_bdb.cpp b/src/storage/phrase_large_table3_bdb.cpp index 13acb9c..19e7223 100644 --- a/src/storage/phrase_large_table3_bdb.cpp +++ b/src/storage/phrase_large_table3_bdb.cpp @@ -73,7 +73,7 @@ bool PhraseLargeTable3::attach(const char * dbfile, guint32 flags) { } /* load/store method */ -bool PhraseLargeTable3::load(const char * filename) { +bool PhraseLargeTable3::load_db(const char * filename) { reset(); /* create in memory db. */ @@ -130,7 +130,7 @@ bool PhraseLargeTable3::load(const char * filename) { return true; } -bool PhraseLargeTable3::store(const char * new_filename) { +bool PhraseLargeTable3::store_db(const char * new_filename) { DB * tmp_db = NULL; int ret = unlink(new_filename); |