mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
rename method for easy grepping
This commit is contained in:
parent
24ed065ef0
commit
e45adc40ae
@ -38,7 +38,7 @@ namespace mongo {
|
||||
_ops.clear();
|
||||
}
|
||||
|
||||
void Writes::insert(WriteIntent& wi){
|
||||
void Writes::insertWriteIntent(WriteIntent& wi){
|
||||
if (_writes.empty()){
|
||||
_writes.insert(wi);
|
||||
return;
|
||||
|
@ -102,7 +102,9 @@ namespace mongo {
|
||||
|
||||
/** reset the Writes structure (empties all the above) */
|
||||
void clear();
|
||||
void insert(WriteIntent& wi); // merges into set
|
||||
|
||||
/** merges into set */
|
||||
void insertWriteIntent(WriteIntent& wi);
|
||||
|
||||
#ifdef _DEBUG
|
||||
WriteIntent _last;
|
||||
@ -215,7 +217,7 @@ namespace mongo {
|
||||
#endif
|
||||
|
||||
// remember intent. we will journal it in a bit
|
||||
_wi.insert(w);
|
||||
_wi.insertWriteIntent(w);
|
||||
_bytes += w.len;
|
||||
wassert( _wi._writes.size() < 2000000 );
|
||||
assert( _wi._writes.size() < 20000000 );
|
||||
|
Loading…
Reference in New Issue
Block a user