File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -368,8 +368,9 @@ func captureOutput(f func()) (out string, err error) {
368
368
// both specific names and total number of system and internal tables that
369
369
// are exported. The regex matches the rest of the line after the prefix
370
370
// unless the line contains an uppercase E to avoid trimming "ERROR" message
371
- // lines, which are expected (and tested) for certain tables.
372
- out = regexp .MustCompile (`(.*retrieving SQL data for ([^E\n])*\n)+` ).
371
+ // lines (but not NOTICE which is informational), which are expected
372
+ // (and tested) for certain tables.
373
+ out = regexp .MustCompile (`(.*retrieving SQL data for (([^E\n])*|.*NOTICE.*)\n)+` ).
373
374
ReplaceAllString (out , "<dumping SQL tables>\n " )
374
375
}()
375
376
You can’t perform that action at this time.
0 commit comments