• unknown's avatar
    Bug #27099: system_mysql fail in pushbuild windows · b872877a
    unknown authored
    On Windows the debug log was doing freopen () instead of
    fflush() and that was slowing the logging down that much 
    that some tests timed out.
    Fixed by replacing the freopen() with an syncing-to-disk
    flag to fopen() and fflush().
    Also increased the timeout of the tests running with --debug
    on windows : seems to slow down as much as valgrind on linux.
    
    
    dbug/dbug.c:
      Bug #27099: remove the freopen() for the 
      windows log : too slow. Replace it with the "c" option
      for fopen().
    mysql-test/mysql-test-run.pl:
      Bug #27099: on windows debug log seems to slow the tests
      down about as much as valgrind does on linux.
    b872877a
dbug.c 61 KB