diff options
author | Sven Sandberg <sven.sandberg@sun.com> | 2009-12-14 15:33:03 +0100 |
---|---|---|
committer | Sven Sandberg <sven.sandberg@sun.com> | 2009-12-14 15:33:03 +0100 |
commit | e83c9f627377f05e093f092cee227da1b43d8e94 (patch) | |
tree | 8d37f4938e573ed8e79142b5775dd31245325398 /sql/sp_head.h | |
parent | 46fe96c11f18edcb112235804e1eadccda78b986 (diff) | |
download | mariadb-git-e83c9f627377f05e093f092cee227da1b43d8e94.tar.gz |
Post-push fixes after wrong merge from 5.1->rep+2->rep+3.
Problem: The test was written before BUG#45827 was fixed.
The test contained code that assumed the wrong behavior,
pre-BUG#45827. Then, the fix for BUG#45827 was merged
from 5.1-rep+2 to 5.1-rep+3. Since the test case assumed
the wrong behavior, it failed. This should have been fixed
by making the test assume the correct behavior, but was
fixed by updating the result file to assert failure.
Fix 1: fix the test to assume correct behavior
(post-BUG#45827), update result file.
Fix 2: make test fail with 'die' instead of 'exit' when
wrong behavior is detected. Thus, the test cannot be
silenced with a wrong result file in case the behavior
will change again.
mysql-test/extra/rpl_tests/create_recursive_construct.inc:
Replaced 'exit' by 'die' to avoid similar
mysql-test/suite/binlog/r/binlog_unsafe.result:
Updated result file.
mysql-test/suite/binlog/t/binlog_unsafe.test:
Since BUG#45827 is now fixed, we need to update the test case
in two places where it expects the wrong result because of
BUG#45827.
Diffstat (limited to 'sql/sp_head.h')
0 files changed, 0 insertions, 0 deletions