• unknown's avatar
    Maria: · b72903fe
    unknown authored
    * merging changes done to the key cache since May 2006 into Maria
    * enabling two small enough page cache's unit tests by default
    * fix to have non-buffered output in unit tests (to not have a false
    timeout killing in pushbuild) (patch given by Serg)
    * removing some warnings of gcc -ansi
    
    
    include/lf.h:
      getting rid of "warning: ISO C does not allow extra `;' outside of a function"
      (gcc -ansi)
    mysys/lf_hash.c:
      getting rid of "warning: ISO C does not allow extra `;' outside of a function"
      (gcc -ansi)
    mysys/mf_pagecache.c:
      Cosmetic changes to minimize the diff with the key cache.
      #define PAGECACHE_DEBUG_LOG is not needed (just define PAGECACHE_DEBUG
      if you want) (this change removes "warning: 'pagecache_debug_print'
      declared `static' but never defined").
      Importing changes made to mf_keycache.c since May 2006, into the page cache.
      Disabling online resizing in the page cache.
      Fix for "warning: ISO C90 forbids mixed declarations and code".
    unittest/mysys/Makefile.am:
      Of the page cache's unit tests, two are small enough to run on pushbuild,
      renaming them to a -t suffix.
    unittest/mytap/tap.c:
      pushbuild kills a test after seeing no output from it for 10 minutes;
      so we set the mytap framework to not buffer output (patch given by
      Serg) so that output is seen more frequently and not "all at the end
      of the test".
    b72903fe
tap.c 8.02 KB