An error occurred fetching the project authors.
  1. 23 Feb, 2005 1 commit
  2. 14 Feb, 2005 1 commit
  3. 10 Feb, 2005 1 commit
  4. 17 Jan, 2005 1 commit
  5. 06 Jan, 2005 1 commit
  6. 22 Dec, 2004 1 commit
  7. 10 Dec, 2004 1 commit
    • heikki@hundin.mysql.fi's avatar
      dict0dict.c, log.cc: · 713a3103
      heikki@hundin.mysql.fi authored
        Remove accidentally merged 4.0 changes
      dict0dict.c:
        Remove the 4.0 fix accidentally auto-merged to 4.1
      row0mysql.h, dict0dict.h:
        Remove a change auto-merged from 4.0
      713a3103
  8. 09 Dec, 2004 1 commit
    • dlenev@brandersnatch.localdomain's avatar
      Fix for bug #6765 "Implicit access to time zone description · 4b0882e0
      dlenev@brandersnatch.localdomain authored
      tables requires privileges for them if some table or column level grants
      present" (with after-review fixes).
      
      We should set SELECT_ACL for implicitly opened tables in 
      my_tz_check_n_skip_implicit_tables() to be able to bypass privilege
      checking in check_grant(). Also we should exclude those tables from
      privilege checking in multi-update.
      4b0882e0
  9. 07 Dec, 2004 1 commit
  10. 03 Dec, 2004 1 commit
    • mats@mysql.com's avatar
      Bug#6391 (binlog-do-db rules ignored) · 2bbdf240
      mats@mysql.com authored
        CREATE DATABASE statement used the current database instead of the
        database created when checking conditions for replication.
        CREATE/DROP/ALTER DATABASE statements are now replicated based on
        the manipulated database.
      2bbdf240
  11. 10 Nov, 2004 2 commits
  12. 04 Nov, 2004 1 commit
  13. 15 Sep, 2004 1 commit
  14. 08 Sep, 2004 1 commit
  15. 06 Sep, 2004 2 commits
  16. 29 Aug, 2004 2 commits
    • rburnett@build.mysql.com's avatar
      log.cc: · 547b46b7
      rburnett@build.mysql.com authored
        Fixed missing * in comment in setup_windows_event_source
      547b46b7
    • guilhem@mysql.com's avatar
      Fix for BUG#4500 "set character set replicates incorrectly" · 93101561
      guilhem@mysql.com authored
      We must not reset the charset in slave after each statement, otherwise the SET CHARACTER SET is cancelled immediately.
      Instead, we write a SET CHARACTER SET DEFAULT to the master's binlog when needed (like we already do for SET FOREIGN_KEY_CHECKS);
      such writing is not necessary in 4.1 (in 4.1 the bug does not exist, as the SET ONE_SHOT syntax is used).
      I have written a test and it works, but I'm not pushing the test as it requires building with all charsets.
      I have noticed differences between what is inserted in the master's table in 4.0 and 4.1, and alerted Bar.
      93101561
  17. 27 Aug, 2004 1 commit
    • monty@mysql.com's avatar
      Code style fixes. · f574cd4e
      monty@mysql.com authored
      Initialize LOG_error_log before get_options to not use an uninitalized mutex in case of an error from handle_options()
      f574cd4e
  18. 26 Aug, 2004 1 commit
  19. 19 Aug, 2004 2 commits
    • guilhem@mysql.com's avatar
      (manual port from 4.0 - was needed) · 0db5b4d2
      guilhem@mysql.com authored
      Fix for BUG#4971 "CREATE TABLE ... TYPE=HEAP SELECT ... stops slave (wrong DELETE in binlog)":
      replacing the no_log argument of mysql_create_table() by some safer method
      (temporarily setting OPTION_BIN_LOG to 0) which guarantees that even the automatic
      DELETE FROM heap_table does not get into the binlog when a not-yet-existing HEAP table
      is opened by mysql_create_table().
      0db5b4d2
    • rburnett@build.mysql.com's avatar
      Bug #4466 Nothing in .err when mysql service ends because of malformed my.ini options · eb04e6da
      rburnett@build.mysql.com authored
      mysqld.cc:
        Changed LOGLEVEL enum to loglevel
      mysql_priv.h, log.cc:
        Changed LOGLEVEL to loglevel.  Removed startup_ from some of the DBUG_ENTER macros. Removed the print_msg_to_log function as it was unused.
      my_getopt.c, my_getopt.h:
        Renamed LOGLEVEL to loglevel to match coding standards
      eb04e6da
  20. 18 Aug, 2004 2 commits
    • guilhem@mysql.com's avatar
      Fix for BUG#4971 "CREATE TABLE ... TYPE=HEAP SELECT ... stops slave (wrong DELETE in binlog)": · 42d30b75
      guilhem@mysql.com authored
      replacing the no_log argument of mysql_create_table() by some safer method
      (temporarily setting OPTION_BIN_LOG to 0) which guarantees that even the automatic
      DELETE FROM heap_table does not get into the binlog when a not-yet-existing HEAP table
      is opened by mysql_create_table().
      42d30b75
    • rburnett@build.mysql.com's avatar
      BUG# 4466 - Nothing in .err when mysql service ends because of malformed my.ini options · a22cdab9
      rburnett@build.mysql.com authored
      mysqld.cc:
        Changed option_error_reporter to match new function header that includes LOGLEVEL enum
      mysql_priv.h:
        Removed the MY_ERROR style bitmask.  Changed function headers to use new LOGLEVEL enum
      log.cc:
        Changed print_buffer_to_log to print_buffer_to_file.  Remove the timestamp bool and now all log entries written to stderr are timestamped.  Removed some unused commented code.  changed to use the new LOGLEVEL enum.  
      my_getopt.c:
        Changed functions to use the new LOGLEVEL enum and changed the included error reporter to be default_reporter.  This reporter is used in handle_options if a reporter is not given
      my_getopt.h:
        changed typedefs to use better naming convention.  Moved error bitmask into the LOGLEVEL enum and included it here.
      a22cdab9
  21. 14 Aug, 2004 1 commit
    • rburnett@build.mysql.com's avatar
      mysql_priv.h: · 67003d1c
      rburnett@build.mysql.com authored
        Added declarations for print_msg_to_log and vprint_msg_to_log.  sql_print_error are simple functions that wrap calls to print_msg_to_log.  Define the different error types with MY_ERROR_TYPE, MY_WARNING_TYPE, and MY_INFORMATION_TYPE
      gen_lex_hash.cc:
        Added NULL error reporting parameter to handle_options
      log.cc:
        Add print_msg_to_log, print_buffer_to_log, and vprint_msg_to_log.  Print_msg_to_log will write the message to the windows event log if on NT.  We now have error, warning, and information versions of sql_print_xxxx.  T his is a variation of a similar changeset WAX did.
      mysqld.cc:
        Added option_error_reporter callback function and pass that into handle_options
      mysql.cc:
        Added NULL as error reporter arg to the end of handle_options
      Many files:
        Added NULL error reporter parameter as the last paramter to handle_options
      my_getopt.c:
        Added second function pointer to server as an error reporting callback.  Added local function report_option_error that will either write the error to stderr or to the error reporting callback.  changed all calls in handle_options from fprintf(stderr, ... ) to report_option_error
      my_getopt.h:
        Changed declaration of handle_options to use typedefs for the two function pointers.  added second function pointer to server as an error reporting callback
      mysqld.dsp:
        Added custom build step for compiling message file and added message resource file (output of mc)
      67003d1c
  22. 31 Jul, 2004 1 commit
    • guilhem@mysql.com's avatar
      Fix for: · dd023bc8
      guilhem@mysql.com authored
      Bug #4810 "deadlock with KILL when the victim was in a wait state"
      (I included mutex unlock into exit_cond() for future safety)
      and BUG#4827 "KILL while START SLAVE may lead to replication slave crash"
      dd023bc8
  23. 29 Jul, 2004 1 commit
    • guilhem@mysql.com's avatar
      Avoiding a theoretically possible crash (pthread_mutex_lock(0)) which could... · 0f20e2fe
      guilhem@mysql.com authored
      Avoiding a theoretically possible crash (pthread_mutex_lock(0)) which could (at least in POSIX Threads books)
      happen on SMP machines, when a thread is going to wait on a condition and it is KILLed at the
      same time.
      Cleaning code a bit by adding a test in enter_cond() that we have the mutex (was already the case in all places
      where it's called except one which is fixed here).
      0f20e2fe
  24. 08 Jul, 2004 1 commit
  25. 24 Jun, 2004 1 commit
    • guilhem@mysql.com's avatar
      Final part of WL#1717 "innodb/binlog consistency". This is to resolve · 4a82bd47
      guilhem@mysql.com authored
      a limitation of yesterday's implementation:
      if there was an unfinished transaction (COMMIT not typed), and some MyISAM tables were
      then updated, and then mysqld crashes, then at restart the server would use the too old
      binlog offset known by InnoDB to cut the binlog, thus cutting the successful MyISAM
      updates. We fix this by reporting the binlog offset into InnoDB even if InnoDB was not
      affected at all by the update.
      But the feature is still disabled until we decide if it can go into 4.1.3.
      4a82bd47
  26. 23 Jun, 2004 2 commits
    • guilhem@mysql.com's avatar
      WL#1717 "binlog/innodb consistency". · c267b19d
      guilhem@mysql.com authored
      Final push. Printing some warnings at startup, as --innodb-safe-binlog requires
      some other options, to work as expected.
      Adding 6 new tests (3 pairs). If they fail on some platforms (so far they have been run only on my Linux),
      they should be ignored for the 4.1.3 build (you can just
      rm mysql-test/*/rpl_crash_*).
      Now going to update doc.
      c267b19d
    • bar@mysql.com's avatar
      log.cc: · 97bdd97c
      bar@mysql.com authored
        rpl_charset failed on  Linux/AMD64.
      97bdd97c
  27. 20 Jun, 2004 1 commit
    • guilhem@mysql.com's avatar
      Robustness feature. · f5d64244
      guilhem@mysql.com authored
      Won't be pushed as is - separate email sent for internal review.
      WL#1717 "binlog-innodb consistency".
      Now when mysqld starts, if InnoDB does a crash recovery, we use the binlog name
      and position retrieved from InnoDB (corresponding to the last transaction
      successfully committed by InnoDB) to cut any rolled back transaction from
      the binary log. This is triggered by the --innodb-safe-binlog option.
      Provided you configure mysqld to fsync() InnoDB at every commit (using
      flush_log_at_trx_commit) and to fsync() the binlog at every write
      (using --sync-binlog=1), this behaviour guarantees that a master always has
      consistency between binlog and InnoDB, whenever the crash happens.
      6 tests to verify that it works.
      f5d64244
  28. 18 Jun, 2004 1 commit
    • dlenev@brandersnatch.localdomain's avatar
      WL#1264 "Per-thread time zone support infrastructure". · 09ba29e5
      dlenev@brandersnatch.localdomain authored
      Added basic per-thread time zone functionality (based on public
      domain elsie-code). Now user can select current time zone
      (from the list of time zones described in system tables).
      All NOW-like functions honor this time zone, values of TIMESTAMP
      type are interpreted as values in this time zone, so now
      our TIMESTAMP type behaves similar to Oracle's TIMESTAMP WITH
      LOCAL TIME ZONE (or proper PostgresSQL type).
        
      WL#1266 "CONVERT_TZ() - basic time with time zone conversion 
      function".
        
      Fixed problems described in Bug #2336 (Different number of warnings 
      when inserting bad datetime as string or as number). This required
      reworking of datetime realted warning hadling (they now generated 
      at Field object level not in conversion functions).
        
      Optimization: Now Field class descendants use table->in_use member
      instead of current_thd macro.
      09ba29e5
  29. 10 Jun, 2004 1 commit
    • guilhem@mysql.com's avatar
      WL#1595 "Optionally fsync() the binlog after every statement": · 73411a2e
      guilhem@mysql.com authored
      New option --sync-binlog=x (and global settable variable) which will fsync the binlog
      after every x-th disk write to it. That is, if in autocommit mode, after every x-th statement
      written to the binlog; if using transactions, after every x-th transaction written to the binlog.
      x==0 means no fsync. x==1 is the slowest.
      There is no test added for this, I have just checked that it works as --sync-binlog=1 dramatically
      slows down mysqld.
      Made sync-frm a global settable variable.
      73411a2e
  30. 03 Jun, 2004 1 commit
    • guilhem@mysql.com's avatar
      Implementation of WL#1824 "Add replication of character set variables in 4.1", · 86e8ecc9
      guilhem@mysql.com authored
      by binlogging some SET ONE_SHOT CHARACTER_SETetc,
      which will be enough until we have it more compact and more complete in 5.0. With the present patch,
      replication will work ok between 4.1.3 master and slaves, as long as:
      - master and slave have the same GLOBAL.COLLATION_SERVER
      - COLLATION_DATABASE and CHARACTER_SET_DATABASE are not used
      - application does not use the fact that table is created with charset of the USEd db (BUG#2326).
      all of which are not too hard to fulfill. 
      ONE_SHOT is reserved for internal use of mysqlbinlog|mysql and works only for charsets,
      so we give error if used for non-charset vars.
      Fix for BUG#3875 "mysqlbinlog produces wrong ouput  if query uses
       variables containing quotes" and BUG#3943 "Queries with non-ASCII literals are not replicated
       properly after SET NAMES".
      Detecting that master and slave have different global charsets or server ids.
      86e8ecc9
  31. 09 Apr, 2004 1 commit
  32. 05 Apr, 2004 1 commit
    • monty@mysql.com's avatar
      Fixed many compiler warnings · 42cf92ce
      monty@mysql.com authored
      Fixed bugs in group_concat with ORDER BY and DISTINCT (Bugs #2695, #3381 and #3319)
      Fixed crash when doing rollback in slave and the io thread catched up with the sql thread
      Set locked_in_memory properly
      42cf92ce
  33. 26 Mar, 2004 1 commit
  34. 10 Mar, 2004 1 commit