From e341f415e0e53c6f498a8a64da54fe129b9445e4 Mon Sep 17 00:00:00 2001 From: imiyazaki Date: Mon, 26 Jan 2004 13:59:58 +0000 Subject: [PATCH] correct wrong option flag of BerkeleyDB. --- Chise_utils/Chise_utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chise_utils/Chise_utils.pm b/Chise_utils/Chise_utils.pm index 2afecc7..b03cf0b 100644 --- a/Chise_utils/Chise_utils.pm +++ b/Chise_utils/Chise_utils.pm @@ -144,7 +144,7 @@ sub get_db{ if(defined($db{$atr}) and -f $db{$atr}){ tie %{$chardb{$atr}}, "BerkeleyDB::Hash", -Filename => $db{$atr}, - -Flags => DB_RDONLY | DB_THREAD | DB_TXN_NOSYNC; + -Flags => DB_RDONLY; }else{ return undef; } @@ -156,7 +156,7 @@ sub get_reverse_db{ if(defined($reverse_db{$atr}) and -f $reverse_db{$atr}){ tie %{$reverse_chardb{$atr}}, "BerkeleyDB::Hash", -Filename => $reverse_db{$atr}, - -Flags => DB_RDONLY | DB_THREAD | DB_TXN_NOSYNC; + -Flags => DB_RDONLY; }else{ return undef; } -- 1.7.10.4