1. 26 Mar, 2008 1 commit
    • kaa@kaamos.(none)'s avatar
      Fix for bug #34928: Confusion by having Primary Key and Index · b753e4a0
      kaa@kaamos.(none) authored
      The bug is a regression introduced in 5.1 by the patch for bug28404.
      
      Under some circumstances test_if_skip_sort_order() could leave some
      data structures in an inconsistent state so that some parts of code
      could assume the selected execution strategy for GROUP BY/DISTINCT as
      a loose index scan (e.g. JOIN_TAB::is_using_loose_index_scan()), while
      the actual strategy chosen was an ordered index scan, which led to
      wrong data being returned.
      
      Fixed test_if_skip_sort_order() so that when changing the type for a
      join table, select->quick is reset not only for EXPLAIN, but for the 
      actual join execution as well, to not confuse code that depends on its
      value to determine the chosen GROUP BY/DISTINCT strategy.
      b753e4a0
  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