RDONLY
This commit is contained in:
parent
8bb9d18313
commit
3b169d4838
|
@ -6,6 +6,8 @@ require 'sbdb/cursor'
|
||||||
module SBDB
|
module SBDB
|
||||||
CREATE = Bdb::DB_CREATE
|
CREATE = Bdb::DB_CREATE
|
||||||
AUTO_COMMIT = Bdb::DB_AUTO_COMMIT
|
AUTO_COMMIT = Bdb::DB_AUTO_COMMIT
|
||||||
|
RDONLY = Bdb::DB_RDONLY
|
||||||
|
READONLY = RDONLY
|
||||||
|
|
||||||
def btree( *p) Btree.new *p end
|
def btree( *p) Btree.new *p end
|
||||||
def hash( *p) Hash.new *p end
|
def hash( *p) Hash.new *p end
|
||||||
|
|
|
@ -8,6 +8,7 @@ module SBDB
|
||||||
HASH = Bdb::Db::HASH
|
HASH = Bdb::Db::HASH
|
||||||
QUEUE = Bdb::Db::QUEUE
|
QUEUE = Bdb::Db::QUEUE
|
||||||
ARRAY = RECNO = Bdb::Db::RECNO
|
ARRAY = RECNO = Bdb::Db::RECNO
|
||||||
|
RDONLY = READLONY = Bdb::DB_RDONLY
|
||||||
|
|
||||||
attr_reader :home
|
attr_reader :home
|
||||||
include Enumerable
|
include Enumerable
|
||||||
|
|
Loading…
Reference in a new issue