summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_large_table3_bdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/phrase_large_table3_bdb.cpp')
-rw-r--r--src/storage/phrase_large_table3_bdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/phrase_large_table3_bdb.cpp b/src/storage/phrase_large_table3_bdb.cpp
index da2e6f2..9074170 100644
--- a/src/storage/phrase_large_table3_bdb.cpp
+++ b/src/storage/phrase_large_table3_bdb.cpp
@@ -230,7 +230,7 @@ int PhraseLargeTable3::search_suggestion(int phrase_length,
DBT db_data;
memset(&db_data, 0, sizeof(DBT));
/* Get the prefix entry */
- ret = cursorp->c_get(cursorp, &db_key1, &db_data, 0);
+ ret = cursorp->c_get(cursorp, &db_key1, &db_data, DB_SET);
if (ret != 0) {
cursorp->c_close(cursorp);
return result;