1. 16 Dec, 2004 1 commit
    • unknown's avatar
      A change of behaviour of Seconds_Behind_Master from SHOW SLAVE STATUS. It's going into 4.1 · 4869f022
      unknown authored
      because old behaviour was somewhat nonsensical (kind of bug). Changes are that if repl threads are
      down or disconnected the column will be NULL, and if master is idle the column will not grow indefinitely anymore.
      
      
      sql/slave.cc:
        mi->slave_running and rli->slave_running now uints (was needed only for mi but because of start_slave_thread() usage,
        had to change both).
        So mi->slave_running can now take 3 values: not running, running & not connected, running and connected.
        The last value serves for calculation of Seconds_Behind_Master in SHOW SLAVE STATUS.
        Changing this column's behaviour: if SQL or I/O thread is not running, or if I/O thread is not connected
        (for example if it is reconnecting), it's NULL (to mean "unknown"). And if master is idle, the column will
        not grow indefinitely like it used to (that was meaningless); this is fixed by forcing a value of 0
        when the slave SQL thread has hit EOF of relay log (which has only a limited number of caveats explained
        in comments in code).
      sql/slave.h:
        slave_running used to be bool but we need to distinguish, for the I/O slave thread, between 
        "running & connected" and "running & not connected" ("running" means the thread exists).
      sql/sql_repl.cc:
        we don't need anymore to set rli->last_master_timestamp to 0 (we used that to make Seconds_Behind_Master
        be NULL) in RESET SLAVE and CHANGE MASTER, as these commands imply that slave threads are not running
        and so Seconds_Behind_Master is already NULL because of that.
      4869f022
  2. 13 Dec, 2004 20 commits
  3. 12 Dec, 2004 5 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · a6c5e110
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      a6c5e110
    • unknown's avatar
      CommandInterpreter.cpp: · f916abf3
      unknown authored
        changed help text
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        changed help text
      f916abf3
    • unknown's avatar
      fix bug#7193 · 8f318cf1
      unknown authored
          added start backup parameter to enable setting wait state
          and set different timeouts depending on waitstate
          moved listen of backup event out of backup and into separete thread
          thread created at connect() and destroyed at disconnect()
          added start backup command options "nowait" "wait completed" "wait started"
          fixed log level settings
      
      
      ndb/include/mgmapi/mgmapi.h:
        added start backup parameter to enable setting wait state
      ndb/src/common/debugger/EventLogger.cpp:
        changed to unsigned printout
      ndb/src/mgmapi/mgmapi.cpp:
        added start backup parameter to enable setting wait state,
        and set different timeouts depending on waitstate
      ndb/src/mgmclient/CommandInterpreter.cpp:
        moved listen of backup event out of backup and into separete thread
        thread created at connect() and destroyed at disconnect()
        added start backup command options "nowait" "wait completed" "wait started"
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        added more options to start backup to set wait state
        + set timeout depending on wait state
        + some debug printouts
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        added more options to start backup to set wait state
      ndb/src/mgmsrv/Services.cpp:
        removed old backup code
        added use of stard backup otions
        fixed log level settings
      ndb/test/src/NdbBackup.cpp:
        adopted to new wait state option in start backup
      8f318cf1
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · f738015f
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ref-4.1
      
      
      f738015f
    • unknown's avatar
      fixed optimized SOME subquery · a9457c57
      unknown authored
      
      mysql-test/r/subselect.result:
        correct results of SOME subquery
      sql/item_cmpfunc.cc:
        some comments added
        fixed optimized SOME subquery
      a9457c57
  4. 11 Dec, 2004 8 commits
  5. 10 Dec, 2004 6 commits