Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug#36027494 Add mtr test for my_print_stacktrace
Add an mtr test which is only inteded to be run manually: ./mtr --no-check-testcases print_stacktrace Inspect output in var/log/msqld.1.err Change-Id: Ia308592441df0e4a23a18c590df867a15882cbef
- Loading branch information
1 parent
9ed16d4
commit 824e2b4
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Run manually, to test output from my_print_stacktrace() | ||
# ./mtr --no-check-testcases print_stacktrace | ||
# inspect output in var/log/msqld.1.err | ||
|
||
--source include/have_debug.inc | ||
|
||
--disable_query_log | ||
SET GLOBAL debug='+d,print_stacktrace'; | ||
SELECT CONCAT("Please inspect mysqld server log,", | ||
" look for print_stacktrace.\n") as Hello; | ||
SET GLOBAL debug='-d,print_stacktrace'; | ||
--enable_query_log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
824e2b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi bro, MySQL can't build the libmysqlclient with MSYS2 on Windows, pls see msys2/MINGW-packages#16085
could you guys help solve this issue?