• unknown's avatar
    Now uses a single pass testing loop. Dual pass made no sense. · 5f209e90
    unknown authored
    Now does averaging when running iterations. 
    Realligned a bunch of code and continued to remove global variables.
    Added CSV output along with printable.
    Structures are now provided for print options so adding XML, HTML, ... should now be trivial.
    
    
    client/client_priv.h:
      Simplified options
    client/mysqlslap.c:
      Giant cleanup.
      We now do single pass testing, not dual pass. The dual pass made no sense really especially when you started adding in more stats.
      Modified the testing loop so that it should not be possible to have both a fork() and thread version (which will make it easier to port to windows should someone want to).
    mysql-test/r/mysqlslap.result:
      New results
    mysql-test/t/mysqlslap.test:
      Adjusting for new options, and removed "archive" from the tests just in case archive is not compiled.
    5f209e90
client_priv.h 2.47 KB