diff options
-rw-r--r-- | tests/lookup/test_simple_lookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookup/test_simple_lookup.cpp b/tests/lookup/test_simple_lookup.cpp index 77fa797..7e4d256 100644 --- a/tests/lookup/test_simple_lookup.cpp +++ b/tests/lookup/test_simple_lookup.cpp @@ -47,7 +47,7 @@ int main( int argc, char * argv[]){ Bigram system_bigram; system_bigram.attach("../../data/bigram.db", ATTACH_READONLY); Bigram user_bigram; - user_bigram.attach("/tmp/bigram.db", ATTACH_CREATE|ATTACH_READWRITE); + user_bigram.attach(NULL, ATTACH_CREATE|ATTACH_READWRITE); PinyinLookup pinyin_lookup(&custom, &largetable, &phrase_index, &system_bigram, &user_bigram); |