Changeset 60
- Timestamp:
- 11/11/05 05:28:41 (3 years ago)
- Files:
-
- 1 modified
-
trunk/convertdb.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/convertdb.rb
r41 r60 17 17 # == Copyright 18 18 # 19 # Copyright (c) 2003 The FaerieMUD Consortium. All rights reserved.19 # Copyright (c) 2003, 2005 The FaerieMUD Consortium. All rights reserved. 20 20 # 21 21 # This module is free software. You may use, modify, and/or redistribute this … … 25 25 # == Version 26 26 # 27 # $Id : convertdb.rb,v 1.5 2003/09/03 05:32:08 deveiant Exp$27 # $Id$ 28 28 # 29 29 … … 181 181 182 182 # Commit and start a new transaction every 1000 records 183 if (entries % CommitThreshold).nonzero? 183 if (entries % CommitThreshold).zero? 184 print "." 184 185 txn.commit( BDB::TXN_NOSYNC ) 185 186 txn, dbh = lexicon.env.txn_begin( 0, set.db )
