This commit is contained in:
Denis Knauf 2010-03-29 11:45:57 +02:00
parent 51f1627093
commit b01559ef13

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