Subject: wrong order in file creation
Description: tie operation has flags and mode in the wrong order.
 Fixed upstream with commit 2b0daf196e0f2acf373c2bc8f0bf2449c36edf40.
 Patch should be removed with next upstream release.
Author: Olivier Sallou <olivier.sallou@irisa.fr
Last-Updated: 02/03/2012
--- a/Bio/DB/SeqFeature/Store/berkeleydb3.pm
+++ b/Bio/DB/SeqFeature/Store/berkeleydb3.pm
@@ -497,7 +497,7 @@
     my $numeric_cmp         = DB_File::BTREEINFO->new;
     $numeric_cmp->{compare} = sub { $_[0] <=> $_[1] };
     $numeric_cmp->{flags}   = R_DUP;
-    my $s = tie %sort,'DB_File',$name,0666,O_CREAT|O_RDWR,$numeric_cmp 
+    my $s = tie %sort,'DB_File',$name,O_CREAT|O_RDWR,0666,$numeric_cmp 
 	or $self->throw("Couldn't create temporary file for sorting: $!");
 
     my $index    = $self->index_db('locations');
