summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/storage/table_info.cpp16
-rw-r--r--src/storage/table_info.h2
2 files changed, 0 insertions, 18 deletions
diff --git a/src/storage/table_info.cpp b/src/storage/table_info.cpp
index 23089d9..fab962e 100644
--- a/src/storage/table_info.cpp
+++ b/src/storage/table_info.cpp
@@ -101,22 +101,6 @@ void SystemTableInfo2::reset() {
#undef FINI_TABLE_INFO
}
-void SystemTableInfo2::postfix_tables() {
- size_t i;
- for (i = 0; i < G_N_ELEMENTS(reserved_tables); ++i) {
- const pinyin_table_info_t * postfix = &reserved_tables[i];
-
- guint8 index = postfix->m_dict_index;
- pinyin_table_info_t * table_info = &m_table_info[index];
- assert(table_info->m_dict_index == index);
-
- table_info->m_table_filename = g_strdup(postfix->m_table_filename);
- table_info->m_system_filename = g_strdup(postfix->m_system_filename);
- table_info->m_user_filename = g_strdup(postfix->m_user_filename);
- table_info->m_file_type = postfix->m_file_type;
- }
-}
-
static gchar * to_string(const char * str) {
if (0 == strcmp(str, "NULL"))
return NULL;
diff --git a/src/storage/table_info.h b/src/storage/table_info.h
index 0db4555..02245f1 100644
--- a/src/storage/table_info.h
+++ b/src/storage/table_info.h
@@ -66,8 +66,6 @@ private:
private:
void reset();
- void postfix_tables();
-
public:
SystemTableInfo2();