1. 25 Mar, 2008 1 commit
    • andrey@whirlpool.hristov.com's avatar
      Fix for Bug #27944 Filtering THD::client capabilities · 36b83cc8
      andrey@whirlpool.hristov.com authored
      The server used to trust blindly information from the client about
      its capabilities. During the connection handshake the server sends
      information about what it supports and then the client sends back a
      set of capabilities which cover all of the server's or less.
      Before this changeset the server didn't check whether the flags sent
      by the client were valid for the server. For example, if the server
      doesn't support compressed protocol but the client does and sends that
      bit turned on, the server didn't check it. The change make the server code
      less error prone to problems related to the value of THD::client_capabilities.
      
      Clearly there is no vulnerability being fixed but this is a maintainenance
      fix to prevent misusage in the future.
      36b83cc8
  2. 14 Mar, 2008 5 commits
  3. 13 Mar, 2008 2 commits
  4. 12 Mar, 2008 11 commits
  5. 11 Mar, 2008 5 commits
  6. 10 Mar, 2008 8 commits
  7. 08 Mar, 2008 3 commits
  8. 07 Mar, 2008 5 commits
    • aelkin/andrei@mysql1000.(none)'s avatar
      Bug #26622 MASTER_POS_WAIT does not work as documented · 8a4c6521
      aelkin/andrei@mysql1000.(none) authored
      Affected tests fixing. After the fix for st_relay_log_info::wait_for_pos() that
      handles widely used select('master-bin.xxxx',pos) invoked by mysqltest
      there appeared to be four tests that either tried synchronizing when
      the slave was stopped or used incorrect synchronization method like
      to call `sync_with_master' from the current connection being to the
      master itself.
      
      Fixed with correcting the current connection or/and using the correct
      synchronization macro when possible.
      8a4c6521
    • sven@riska.(none)'s avatar
      BUG#31168: @@hostname does not replicate · 81b1d712
      sven@riska.(none) authored
      Problem: in mixed and statement mode, a query that refers to a
      system variable will use the slave's value when replayed on
      slave. So if the value of a system variable is inserted into a
      table, the slave will differ from the master.
      Fix: mark statements that refer to a system variable as "unsafe",
      meaning they will be replicated by row in mixed mode and produce a warning
      in statement mode. There are some exceptions: some variables are actually
      replicated. Those should *not* be marked as unsafe.
      BUG#34732: mysqlbinlog does not print default values for auto_increment variables
      Problem: mysqlbinlog does not print default values for some variables,
      including auto_increment_increment and others. So if a client executing
      the output of mysqlbinlog has different default values, replication will
      be wrong.
      Fix: Always print default values for all variables that are replicated.
      I need to fix the two bugs at the same time, because the test cases would
      fail if I only fixed one of them.
      81b1d712
    • mhansson/martin@riffraff.(none)'s avatar
      Bug #34367: sql/sql_show.cc: create_schema_table should handle · bcb6d2be
      mhansson/martin@riffraff.(none) authored
      MYSQL_TYPE_NEWDECIMAL
      
      Added support for the type MYSQL_TYPE_NEWDECIMAL. It now works like
      MYSQL_TYPE_DECIMAL. Unfortunately there cannot be a test case until
      we have a working information_schema plugin as part of the source
      distribution.
      bcb6d2be
    • aelkin/andrei@mysql1000.(none)'s avatar
      Bug #28780 report_host is not available through SELECT @@report_host · 9c2ef837
      aelkin/andrei@mysql1000.(none) authored
      merging and post-make-test changes.
      9c2ef837
    • gkodinov/kgeorge@magare.gmz's avatar
      Merge magare.gmz:/home/kgeorge/mysql/work/B34909-5.0-opt · dbc3ef6c
      gkodinov/kgeorge@magare.gmz authored
      into  magare.gmz:/home/kgeorge/mysql/work/B34909-5.1-opt
      dbc3ef6c