diff options
author | unknown <msvensson@neptunus.(none)> | 2005-10-13 13:37:10 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-10-13 13:37:10 +0200 |
commit | 8009bdd26d55c9b1eeabce7d5452a39b1715a766 (patch) | |
tree | b1ca3f7f59bb171f7aac07f3dc42a1283318175e /tests | |
parent | 7d868794425c4962912377bc2fc46ac4d5ce6a0b (diff) | |
download | mariadb-git-8009bdd26d55c9b1eeabce7d5452a39b1715a766.tar.gz |
Bug #12698 abnormal program termination running mysql_client_test
- The testcase create a .frm file consisting of "junk". Unfortunately the "junk" wasn't
written to the .frm file if mysql_client_test was run with -s option to make it run silent.
This most likely caused the file never to be created on windows, and thus the
test case failed.
tests/mysql_client_test.c:
Always write "junk" to the test file.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index eadbd37f8f6..6717e31c18f 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -6962,8 +6962,7 @@ static void test_frm_bug() fprintf(stdout, "\n test cancelled"); exit(1); } - if (!opt_silent) - fprintf(test_file, "this is a junk file for test"); + fprintf(test_file, "this is a junk file for test"); rc= mysql_query(mysql, "SHOW TABLE STATUS like 'test_frm_bug'"); myquery(rc); |