diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-03-14 15:36:30 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-03-31 19:28:58 +0200 |
commit | b2865a437f45922c2f31f2bffe0f7d6134a8720e (patch) | |
tree | 581045b1cd5f0deef8af13cdbfc73c7dfb1c26af /mysql-test/r/mysqldump.result | |
parent | d6d994bf42be0b855e3eb1c4d672a4871a186652 (diff) | |
download | mariadb-git-b2865a437f45922c2f31f2bffe0f7d6134a8720e.tar.gz |
search_pattern_in_file.inc changes
1. Special mode to search in error logs: if SEARCH_RANGE is not set,
the file is considered an error log and the search is performed
since the last CURRENT_TEST: line
2. Number of matches is printed too. "FOUND 5 /foo/ in bar".
Use greedy .* at the end of the pattern if number of matches
isn't stable. If nothing is found it's still "NOT FOUND",
not "FOUND 0".
3. SEARCH_ABORT specifies the prefix of the output.
Can be "NOT FOUND" or "FOUND" as before,
but also "FOUND 5 " if needed.
Diffstat (limited to 'mysql-test/r/mysqldump.result')
-rw-r--r-- | mysql-test/r/mysqldump.result | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/mysqldump.result b/mysql-test/r/mysqldump.result index b46115c26f9..1243c455e6c 100644 --- a/mysql-test/r/mysqldump.result +++ b/mysql-test/r/mysqldump.result @@ -5533,4 +5533,4 @@ USE `db1`; DROP DATABASE db1; DROP DATABASE db2; -FOUND /Database: mysql/ in bug11505.sql +FOUND 1 /Database: mysql/ in bug11505.sql |