mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
Merge branch 'master' of git@github.com:mongodb/mongo
This commit is contained in:
commit
e730368296
@ -51,7 +51,8 @@ void shellHistoryAdd( const char * line ){
|
|||||||
if ( strlen(line) == 0 )
|
if ( strlen(line) == 0 )
|
||||||
return;
|
return;
|
||||||
#ifdef USE_READLINE
|
#ifdef USE_READLINE
|
||||||
add_history( line );
|
if ((strstr(line, ".auth")) == NULL)
|
||||||
|
add_history( line );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user