diff --git a/shell/dbshell.cpp b/shell/dbshell.cpp index 798438324d7..55d841cb6d6 100644 --- a/shell/dbshell.cpp +++ b/shell/dbshell.cpp @@ -51,7 +51,8 @@ void shellHistoryAdd( const char * line ){ if ( strlen(line) == 0 ) return; #ifdef USE_READLINE - add_history( line ); + if ((strstr(line, ".auth")) == NULL) + add_history( line ); #endif }