diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-10-06 10:18:08 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-10-06 10:18:11 +0200 |
commit | 7444678a7d58f217f29096d88d057f6ed5ec0cd1 (patch) | |
tree | e73ccc8f35854a8d4bda0e4a2aa96903b22beed1 /lib/rbot/registry/tc.rb | |
parent | 83229da8d25e044bca03f9ae879cadaf06acae3a (diff) |
TokyoCabinet: upgrade from BDB using case-insensitive tree
Diffstat (limited to 'lib/rbot/registry/tc.rb')
-rw-r--r-- | lib/rbot/registry/tc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/registry/tc.rb b/lib/rbot/registry/tc.rb index 9f410484..b735927c 100644 --- a/lib/rbot/registry/tc.rb +++ b/lib/rbot/registry/tc.rb @@ -131,7 +131,7 @@ module Irc if File.exists? oldbasename and defined? BDB # upgrading warning "Upgrading old database #{oldbasename}..." - oldb = ::BDB::Btree.open(oldbasename, nil, "r", 0600) + oldb = ::BDB::CIBtree.open(oldbasename, nil, "r", 0600) oldb.each_key do |k| @db.outlist k @db.putlist k, (oldb.duplicates(k, false)) |