• unknown's avatar
    Extended mysqlslap.c for auto tests (see the comment on the mysqlslap.c file).... · 3c380442
    unknown authored
    Extended mysqlslap.c for auto tests (see the comment on the mysqlslap.c file). I also fixed a bug where limit was not being reached. 
    
    
    client/client_priv.h:
      More options
    client/mysqlslap.c:
      Extended the auto-sql in the following ways:
      1) You can now specify a load type of either "mixed", "read", or "write". Not great, but a definite improvement.
      2) A new option allows you to specify how many rows are inserted for the "read" load. 
      
      I also fixed a bug where limit was not being reached by running threads.
    mysql-test/r/mysqlslap.result:
      Updated results
    3c380442
mysqlslap.c 38.9 KB