An error occurred fetching the project authors.
  1. 14 Jan, 2008 1 commit
  2. 27 Jun, 2007 1 commit
  3. 11 Jun, 2007 1 commit
  4. 09 Jun, 2007 1 commit
    • mats@kindahl-laptop.dnsalias.net's avatar
      BUG#24954 (Last_errno and Last_error not set after master_retry_count was reached): · 9094e97a
      mats@kindahl-laptop.dnsalias.net authored
      Adding new fields Last_{IO,SQL}_Errno and Last_{IO,SQL}_Error to output
      of SHOW SLAVE STATUS to hold errors from I/O and SQL thread respectively.
      Old fields Last_Error and Last_Errno are aliases for Last_SQL_Error and
      Last_SQL_Errno respectively.
      
      Fields are added last to output of SHOW SLAVE STATUS to allow old applications
      to use the same positional arguments into the row, while allowing new
      application to benefit from the added information.
      
      In addition, some new error codes are added (especially for the I/O
      thread) to be able to provide sensible error message.
      9094e97a
  5. 21 May, 2007 1 commit
  6. 30 Mar, 2007 1 commit
  7. 29 Mar, 2007 2 commits
    • mats@romeo.(none)'s avatar
      WL#3464: Add replication event to denote gap in replication · 7c187c2c
      mats@romeo.(none) authored
      Adding an event that can be used to denote that an incident occured
      on the master. The event can be used to denote a gap in the replication
      stream, but can also be used to denote other incidents.
      
      In addition, the injector interface is extended with functions to
      generate an incident event. The function will also rotate the binary
      log after generating an incident event to get a fresh binary log.
      7c187c2c
    • msvensson@pilot.blaudden's avatar
      Bug#19991 CHANGE MASTER need option ssl-verify-server-cert · f865bd1d
      msvensson@pilot.blaudden authored
       - Add MASTER_SSL_VERIFY_SERVER_CERT option to CHANGE MASTER TO
       - Add Master_Ssl_Serify_Server_Cert to SHOW SLAVE STATUS
       - Save and restore ssl_verify_server_cert  to master info file
         setting it to disabled as default.
      f865bd1d
  8. 20 Mar, 2007 1 commit
  9. 22 Dec, 2005 1 commit
  10. 18 Jul, 2005 2 commits
  11. 27 May, 2005 1 commit
  12. 24 May, 2005 1 commit
  13. 19 May, 2005 1 commit
  14. 25 Mar, 2005 1 commit
    • gbichot@quadita2.mysql.com's avatar
      WWe now store the catalog in Query_log_event in binlog WITHOUT its end zero. · ead47f47
      gbichot@quadita2.mysql.com authored
      This saves one byte per Query_log_event on disk compared to 5.0.[0..3]. Compatibility problems with 5.0.x where x<4
      are explained in the comments in log_event.cc. Putting back s/my_open(O_TRUNC)/(my_delete+my_create) change which had
      been wiped away by somebody doing a wrong 4.1->5.0 merge (which happened just
      before 5.0.3 :( ). Applying it to new events for LOAD DATA INFILE.
      If slave fails in Execute_load_query_log_event::exec_event(),
      don't delete the file (so that it's re-usable at next START SLAVE).
      And (youpi!) fix for BUG#3247 "a partially completed LOAD DATA INFILE is not
      executed at all on the slave" (storing an Execute_load_query_log_event
      to binlog, with its error code, instead of Delete_file_log_event).
      ead47f47
  15. 16 Mar, 2005 1 commit
    • dlenev@brandersnatch.localdomain's avatar
      WL#874 "Extended LOAD DATA". · f1691140
      dlenev@brandersnatch.localdomain authored
      Now one can use user variables as target for data loaded from file
      (besides table's columns). Also LOAD DATA got new SET-clause in which
      one can specify values for table columns as expressions.
      
      For example the following is possible:
      LOAD DATA INFILE 'words.dat' INTO TABLE t1 (a, @b) SET c = @b + 1;
      
      This patch also implements new way of replicating LOAD DATA.
      Now we do it similarly to other queries.
      We store LOAD DATA query in new Execute_load_query event
      (which is last in the sequence of events representing LOAD DATA).
      When we are executing this event we simply rewrite part of query which
      holds name of file (we use name of temporary file) and then execute it
      as usual query. In the beggining of this sequence we use Begin_load_query
      event which is almost identical to Append_file event
      f1691140
  16. 23 Feb, 2005 2 commits
  17. 22 Feb, 2005 1 commit
  18. 21 Feb, 2005 1 commit
  19. 16 Feb, 2005 1 commit
  20. 03 Feb, 2005 1 commit
    • guilhem@mysql.com's avatar
      WL#1062 "log charset info into all Query_log_event": · ed1696f6
      guilhem@mysql.com authored
      we store 7 bytes (1 + 2*3) in every Query_log_event.
      In the future if users want binlog optimized for small size and less safe,
      we could add --binlog-no-charset (and binlog-no-sql-mode etc): charset info
      is something by design optional (even if for now we don't offer possibility to disable it):
      it's not a binlog format change.
      We try to reduce the number of get_charset() calls in the slave SQL thread to a minimum
      by caching the charset read from the previous event (which will often be equal to the one of the current event).
      We don't use SET ONE_SHOT for charset-aware repl (we still do for timezones, will be fixed later).
      No more errors if one changes the global value of charset vars on master or slave
      (as we log charset info in all Query_log_event).
      Not fixing Load_log_event as it will be rewritten soon by Dmitri.
      Testing how mysqlbinlog behaves in rpl_charset.test.
      mysqlbinlog needs to know where charset file is (to be able to convert a charset number found
      in binlog (e.g. in User_var_log_event) to a charset name); mysql-test-run needs to pass
      the correct value for this option to mysqlbinlog.
      Many result udpates (adding charset info into every event shifts log_pos in SHOW BINLOG EVENTS).
      Roughly the same job is to be done for timezones :)
      ed1696f6
  21. 25 Jan, 2005 1 commit
  22. 16 Jan, 2005 1 commit
  23. 12 Nov, 2004 1 commit
  24. 20 Oct, 2004 1 commit
  25. 24 Aug, 2004 1 commit
  26. 15 Jun, 2004 1 commit
  27. 19 Dec, 2003 1 commit
    • guilhem@gbichot2's avatar
      This is the final commit for Worklog tasks: · df3b1a54
      guilhem@gbichot2 authored
         * A more dynamic binlog format which allows small changes (1064)
         * Log session variables in Query_log_event (1063)
      It contains a few bugfixes (which I made when running the testsuite).
      I carefully updated the results of the testsuite (i.e. I checked for every one,
      if the difference between .reject and .result could be explained).
      Apparently mysql-test-run --manager is broken in 4.1 and 5.0 currently,
      so I could neither run the few tests which require --manager, nor check
      that they pass nor modify their .result. But for builds, we don't run
      with --manager.
      Apart from --manager, the full testsuite passes, with Valgrind too (no errors).
      I'm going to push in the next minutes. Remains: update the manual.
      Note: by chance I saw that (in 4.1, in 5.0) rpl_get_lock fails when run alone;
      this is normal at it makes assumptions on thread ids. I will fix this one day
      in 4.1.
      df3b1a54
  28. 16 Dec, 2003 2 commits
    • guilhem@mysql.com's avatar
      Fix for BUG#2121 "Inadequate message "check permissions on master.info"": · b6e55207
      guilhem@mysql.com authored
      more general message when slave can't start because of incorrect
      replication information, the previous one was sometimes a misleading
      indication (i.e. sometimes the problem had nothing to do with
      system permissions).
      The perfect fix would be to report the exact error to the client
      (instead of pointing the client to the error log); this is a bit
      of work so it's more a development task:
      WL#1088 "Move all hardcoded messages of replication to share/errmsg.txt".
      I was not able to modify the errmsg.txt in these sql/ subdirectories:
      
      danish
      dutch
      german
      italian
      portuguese
      russian
      spanish
      swedish
      ukrainian
      b6e55207
    • monty@mysql.com's avatar
      Portability fixes (mostly test suite) · 56f0abf7
      monty@mysql.com authored
      Make ENGINE= an alias for TYPE= (Compabiltiy with 4.1)
      Fix when using symlinked data files and realpath() is not working
      56f0abf7
  29. 20 Nov, 2003 2 commits
  30. 09 Oct, 2003 1 commit
  31. 08 Oct, 2003 1 commit
    • guilhem@gbichot2's avatar
      Final push for WL#1098: · c0075fa6
      guilhem@gbichot2 authored
      "Add a column "Timestamp_of_last_master_event_executed" in SHOW SLAVE STATUS".
      Finally this is adding
      - Slave_IO_State (a copy of the State column of SHOW PROCESSLIST for the I/O thread,
      so that the users, most of the time, has enough info with only SHOW SLAVE STATUS).
      - Seconds_behind_master. When the slave connects to the master it does SELECT UNIX_TIMESTAMP()
      on the master, computes the absolute difference between the master's and the slave's clock.
      It records the timestamp of the last event executed by the SQL thread, and does a
      small computation to find the number of seconds by which the slave is late.
      c0075fa6
  32. 14 Sep, 2003 1 commit
  33. 13 Sep, 2003 1 commit
  34. 01 Sep, 2003 2 commits