Wipe passwords from backup logs too.

This commit is contained in:
Vitaly Baranov
2022-10-31 10:50:33 +01:00
parent dcf8724adf
commit a30bfada63
12 changed files with 190 additions and 81 deletions
@@ -87,7 +87,7 @@ restoreUserDefinedSQLObjects(RestorerFromBackup & restorer, const String & data_
parser,
statement_def.data(),
statement_def.data() + statement_def.size(),
"in file " + filepath + " from backup " + backup->getName(),
"in file " + filepath + " from backup " + backup->getNameForLogging(),
0,
context->getSettingsRef().max_parser_depth);
break;