master
Denis Knauf 2010-03-29 11:45:57 +02:00
parent 51f1627093
commit b01559ef13
1 changed files with 2 additions and 2 deletions

View File

@ -118,12 +118,12 @@ module SBDB
super [key].pack('I')
end
def []= key, v
def []= key, val
super [key].pack('I'), val
end
def push val, txn = nil
@db.put _txn(txn), "\0\0\0\0", v, Bdb::DB_APPEND
@db.put _txn(txn), "\0\0\0\0", val, Bdb::DB_APPEND
end
end