diff options
Diffstat (limited to 'src/storage/facade_chewing_table2.h')
-rw-r--r-- | src/storage/facade_chewing_table2.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/storage/facade_chewing_table2.h b/src/storage/facade_chewing_table2.h index 941ca63..1cf2a1f 100644 --- a/src/storage/facade_chewing_table2.h +++ b/src/storage/facade_chewing_table2.h @@ -84,25 +84,17 @@ public: } if (user_filename) { m_user_chewing_table = new ChewingLargeTable2; - result = m_user_chewing_table->attach - (user_filename, ATTACH_READWRITE|ATTACH_CREATE) || result; + result = m_user_chewing_table->load_db + (user_filename) || result; } return result; } - bool sync() { - if (NULL == m_user_chewing_table) - return false; - return m_user_chewing_table->sync(); - } - -#if 0 bool store(const char * new_user_filename) { if (NULL == m_user_chewing_table) return false; return m_user_chewing_table->store_db(new_user_filename); } -#endif /** * FacadeChewingTable2::search: |