#
# Upgrade version 1 CNID databases to version 2
#
-# $Id: cnid2_create.in,v 1.1.2.2 2004-01-02 17:20:57 lenneis Exp $
+# $Id: cnid2_create.in,v 1.1.2.5 2004-01-12 13:52:24 lenneis Exp $
#
# Copyright (C) Joerg Lenneis 2003
-# All Rights Reserved. See COPYRIGHT.
+# All Rights Reserved. See COPYING.
#
#
my $dbname = shift;
my $n = shift;
- printf $handle "VERSION=3\nformat=bytevalue\ndatabase=%s\n", $dbname;
- printf $handle "type=hash\nh_nelem=%i\nHEADER=END\n", $n;
+ printf $handle "VERSION=3\nformat=bytevalue\ndatabase=%s\ntype=btree\nHEADER=END\n", $dbname;
}
sub expand_did_table($$)