Skip to content

Commit 708c308

Browse files
author
H N Mohan Kumar
committed
Bug#37675340 : Backport Bug#37105430 into 8.0 and 8.4
Issue ====== Bug#37105430 was fixed in trunk, this patch revealed some failures in trunk. Some of these issues are still hidden in 8.0 and 8.4 Fix ====== Backport the fix for Bug#37105430 into 8.0 and 8.4 Change-Id: I6b91a7bd0c614761c7fad2e43d10b258327f0033 Approved by : Pavithra Pandith <pavithra.pandith@oracle.com>
1 parent de289af commit 708c308

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mysql-test/include/assert_grep.inc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,17 @@ if ($assert_match == '')
7373
}
7474
}
7575

76-
--let $_ag_assert_count = 0
76+
--let $_ag_arg_count = 0
7777
if ($assert_match != '') {
78-
--inc $_ag_assert_count
78+
--inc $_ag_arg_count
7979
}
8080
if ($assert_count != '') {
81-
--inc $_ag_assert_count
81+
--inc $_ag_arg_count
8282
}
8383
if ($assert_count_condition != '') {
84-
--inc $_ag_assert_count
84+
--inc $_ag_arg_count
8585
}
86-
if ($_ag_assert_count != 1) {
86+
if ($_ag_arg_count != 1) {
8787
--echo assert_text='$assert_text' assert_match='$assert_match' assert_count='$assert_count' assert_count_condition='$assert_count_condition'
8888
--die !!!ERROR IN TEST: you must set exactly one of $assert_match, $assert_count or $assert_count_condition
8989
}

0 commit comments

Comments
 (0)