diff options
Diffstat (limited to 'src/storage/facade_phrase_table3.h')
-rw-r--r-- | src/storage/facade_phrase_table3.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/storage/facade_phrase_table3.h b/src/storage/facade_phrase_table3.h index 69b4cfd..3f71421 100644 --- a/src/storage/facade_phrase_table3.h +++ b/src/storage/facade_phrase_table3.h @@ -83,25 +83,17 @@ public: } if (user_filename) { m_user_phrase_table = new PhraseLargeTable3; - result = m_user_phrase_table->attach - (user_filename, ATTACH_READWRITE|ATTACH_CREATE) || result; + result = m_user_phrase_table->load_db + (user_filename) || result; } return result; } - bool sync() { - if (NULL == m_user_phrase_table) - return false; - return m_user_phrase_table->sync(); - } - -#if 0 bool store(const char * new_user_filename) { if (NULL == m_user_phrase_table) return false; return m_user_phrase_table->store_db(new_user_filename); } -#endif /** * FacadePhraseTable3::search: |