From d602f8dd52fa4aea9e8f53066483b6bf97168794 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 3 Mar 2016 17:05:14 +0800 Subject: fixes compile --- src/storage/bdb_utils.h | 2 +- src/storage/phrase_large_table3_bdb.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/storage') diff --git a/src/storage/bdb_utils.h b/src/storage/bdb_utils.h index 8aa0f40..b7c4d3a 100644 --- a/src/storage/bdb_utils.h +++ b/src/storage/bdb_utils.h @@ -27,7 +27,7 @@ namespace pinyin{ -inline u_int32_t attach_option(guint32 flags) { +inline u_int32_t attach_options(guint32 flags) { u_int32_t db_flags = 0; if (flags & ATTACH_READONLY) diff --git a/src/storage/phrase_large_table3_bdb.cpp b/src/storage/phrase_large_table3_bdb.cpp index 28d2428..f8f0d82 100644 --- a/src/storage/phrase_large_table3_bdb.cpp +++ b/src/storage/phrase_large_table3_bdb.cpp @@ -21,7 +21,7 @@ #include "phrase_large_table3.h" #include - +#include "bdb_utils.h" namespace pinyin{ -- cgit