Cursor: Typo
This commit is contained in:
parent
4cf0388c5b
commit
e9e06b1b99
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ module SBDB
|
||||||
def initialize ref
|
def initialize ref
|
||||||
@cursor, @db = *case ref
|
@cursor, @db = *case ref
|
||||||
when Cursor then [ref.bdb_object.dup, ref.db]
|
when Cursor then [ref.bdb_object.dup, ref.db]
|
||||||
when Bd::Db::Cursor then [ref]
|
when Bdb::Db::Cursor then [ref]
|
||||||
else [ref.bdb_object.cursor( nil, 0), ref]
|
else [ref.bdb_object.cursor( nil, 0), ref]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue