1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #7037 Test "mysql_protocols" fails on Solaris 8 + 9 /x86

This commit is contained in:
msvensson@neptunus.(none)
2005-09-23 14:07:31 +02:00
parent 7ba13b16bd
commit 00bcf8cd8e

View File

@ -127,9 +127,14 @@ my_bool my_init(void)
void my_end(int infoflag)
{
DBUG_ENTER("my_end");
/*
this code is suboptimal to workaround a bug in
Sun CC: Sun C++ 5.6 2004/06/02 for x86, and should not be
optimized until this compiler is not in use anymore
*/
FILE *info_file= DBUG_FILE;
bool print_info= (info_file != stderr);
my_bool print_info= (info_file != stderr);
DBUG_ENTER("my_end");
if (!info_file)
{
info_file= stderr;