diff options
author | Magnus Svensson <msvensson@mysql.com> | 2009-01-26 16:39:00 +0100 |
---|---|---|
committer | Magnus Svensson <msvensson@mysql.com> | 2009-01-26 16:39:00 +0100 |
commit | 0618b83622a788141ff98984126f1dc850ae0a68 (patch) | |
tree | e757db0544dc338de22d8ec46036abefdcb3746c /sql/sql_test.cc | |
parent | 2bea349becb02b21d6ce97a6291648a486bf01a9 (diff) | |
download | mariadb-git-0618b83622a788141ff98984126f1dc850ae0a68.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.cc | 2 |
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\ |