• unknown's avatar
    Fixed federated and some replication tests to not stop slave until it's up and running. · 763f105d
    unknown authored
    (Removes some warnings about UNIX_TIMESTAMP from the slave.err logs)
    Marked federated_server as a '--big-test'
    Change error in net_clear to 'Note', as it interfered with mysql-test-run.
    
    
    client/mysqltest.c:
      More DBUG messages
      Adding missing DBUG_RETURN
    mysql-test/extra/rpl_tests/rpl_max_relay_size.test:
      Added missing sync_slave_with_master
    mysql-test/extra/rpl_tests/rpl_relayrotate.test:
      Added missing sync_slave_with_master
    mysql-test/include/federated.inc:
      Don't do stop slave before the slave has started properly
      (Removes some warnings about UNIX_TIMESTAMP from the slave.err logs)
    mysql-test/include/federated_cleanup.inc:
      Trivial cleanup
    mysql-test/t/federated_server.test:
      Don't run this unless under --big-test
      Made test-loop smaller. (We will find out errors in code over time, as the test is run under a lot of difference machines which will compensate for the smaller loop)
    mysql-test/t/rpl_flushlog_loop.test:
      Added missing sync_slave_with_master
    sql/net_serv.cc:
      Change error to Note (low level warning), as it interfered with mysql-test-run.
      This is probably fine as we in some context on sever shutdown can get information about connection shutdown on the connection while we are doing a query at the same time.
      Still, in normal context one should get this, so it's good to have it in the log as it enables one to find errors easier.
    sql/slave.cc:
      Added reason to why things failed to error message
    763f105d
slave.cc 128 KB