summaryrefslogtreecommitdiff
path: root/sql/sql_test.cc
diff options
context:
space:
mode:
authorMagnus Svensson <msvensson@mysql.com>2009-01-26 16:39:00 +0100
committerMagnus Svensson <msvensson@mysql.com>2009-01-26 16:39:00 +0100
commita55af813efe90be655de0f0dd0a6aaffeece143c (patch)
treee757db0544dc338de22d8ec46036abefdcb3746c /sql/sql_test.cc
parent65f201c332f2555bacc0547bc8b002378702e734 (diff)
downloadmariadb-git-a55af813efe90be655de0f0dd0a6aaffeece143c.tar.gz
WL#4189 mtr.pl v2
- Suppress intentional safemalloc dump warnings - add fflush(stdout) to make sure that the "End safemalloc memory dump." marker is flushed.
Diffstat (limited to 'sql/sql_test.cc')
-rw-r--r--sql/sql_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_test.cc b/sql/sql_test.cc
index 01363714484..78932396efe 100644
--- a/sql/sql_test.cc
+++ b/sql/sql_test.cc
@@ -513,7 +513,7 @@ Next alarm time: %lu\n",
fprintf(stdout,"\nBegin safemalloc memory dump:\n"); // tag needed for test suite
TERMINATE(stdout, 1); // Write malloc information
fprintf(stdout,"\nEnd safemalloc memory dump.\n");
-
+ fflush(stdout);
#ifdef HAVE_MALLINFO
struct mallinfo info= mallinfo();
printf("\nMemory status:\n\