1. 16 Jan, 2009 3 commits
  2. 15 Jan, 2009 17 commits
  3. 14 Jan, 2009 7 commits
  4. 13 Jan, 2009 10 commits
    • Davi Arnaut's avatar
      Bug#36326: nested transaction and select · 918a0381
      Davi Arnaut authored
      The problem is that the query cache stores packets containing
      the server status of the time when the cached statement was run.
      This might lead to a wrong transaction status in the client side
      if a statement is cached during a transaction and is later served
      outside a transaction context (and vice-versa).
      
      The solution is to take into account the transaction status when
      storing in and serving from the query cache.
      918a0381
    • Chad MILLER's avatar
      Merge fix for bug 38364. · 05fb260b
      Chad MILLER authored
      05fb260b
    • Matthias Leich's avatar
      Merge into actual tree · 33d2ae15
      Matthias Leich authored
      33d2ae15
    • Davi Arnaut's avatar
      Auto-merge from upstream 5.1-bugteam · 49888167
      Davi Arnaut authored
      49888167
    • Matthias Leich's avatar
      Merge of fix for bug · 50ad9d1f
      Matthias Leich authored
         41776 type_date.test may fail if run around midnight.
      into GCA tree.
      50ad9d1f
    • Joerg Bruehe's avatar
      Tool fix, needed for "compile-dist" to succeed on Solaris: · b7250688
      Joerg Bruehe authored
      The default "awk" there cannot handle some of the scripts
      which are used by BDB for configuration.
      
      The fix:
      1) Introduce a variable "AWK" in some of the BDB shell scripts,
      2) search "gawk" and give it precedence over "awk"
         when assigning a value to the "AWK" variable,
         fail if neither is found,
      3) use that variable when calling an "awk" program with one
         of the critical scripts.
      
      The perfect solution would be to use the "awk" program found
      by "configure", but we cannot follow that approach because
      BDB's configuration is handled as a special case before the
      overall "configure" is run. Because of this,
      1) the "configure" result isn't yet available,
      2) "configure" will not handle these BDB files.
      Searching "gawk" is a (not-so-nice) way out.
      
      Note that all this need not be perfectly portable,
      it is needed only when we create a source distribution tarball
      from a develkopment tree.
      b7250688
    • Matthias Leich's avatar
      Merge of fix for bug · f557d377
      Matthias Leich authored
         41111 events_bugs fails sporadically on pushbuild
      into GCA tree
      f557d377
    • Matthias Leich's avatar
      Merge of fix for bug · e0fdeaa2
      Matthias Leich authored
      41932 funcs_1: is_collation_character_set_applicability path too long for tar
      into GCA tree
      e0fdeaa2
    • Matthias Leich's avatar
      Fix for Bug#40377 sporadic pushbuild failure in log_state: result mismatch · d657438e
      Matthias Leich authored
      + add workaround for bug 38124
      + messages into the protocol when sessions are switched
      + replace error numbers by error names
      + reset of system variables to initial values per subtest
      + remove a file created by this test
      + minor improvements in structure and formatting
      d657438e
    • Georgi Kodinov's avatar
      Bug #38795: Automatic search depth and nested join's results in server crash · 83823a14
      Georgi Kodinov authored
            
      The greedy optimizer tracks the current level of nested joins and the position
      inside these by setting and maintaining a state that's global for the whole FROM
      clause.
      This state was correctly maintained inside the selection of the next partial plan
      table (in best_extension_by_limited_search()). 
      greedy_search() also moves the current position by adding the last partial match 
      table when there's not enough tables in the partial plan found by 
      best_extension_by_limited_search().
      This may require update of the global state variables that describe the current
      position in the plan if the last table placed by greedy_search is not a top-level 
      join table.
      Fixed by updating the state after placing the partial plan table in greedy_search()
      in the same way this is done on entering the best_extension_by_limited_search().
      Fixed the signature of the function called to update the state : 
      check_interleaving_with_nj
      83823a14
  5. 12 Jan, 2009 3 commits
    • Patrick Crews's avatar
      Bug#41888: Test binlog.binlog_database causing binlog_innodb to fail on Pushbuild. · 4e550c9d
      Patrick Crews authored
      Added cleanup of status variables to the end of binlog_database.
      Re-recorded .result file to account for cleanup statement.
      NOTE:  binlog.binlog_innodb also has had an FLUSH STATUS; statement added to it as well, but
      adding this cleanup as a preventative measure.
      4e550c9d
    • Joerg Bruehe's avatar
      Set the version: 5.0.72sp1 · f730c8e4
      Joerg Bruehe authored
      f730c8e4
    • Chad MILLER's avatar
      Bug#38364: gen_lex_hash segmentation fault in debug build · e3716a3d
      Chad MILLER authored
      Bug#36428: MY_MUTEX_INIT_FAST is used before initialization
      
      On some thread implementations, we need a fake mutex attri-
      bute as a placeholder, which we define as a global variable,
      "my_fast_mutexattr".  Well. that must be initialized before 
      used in any mutexes, and the ordering of initializations in 
      the API function  my_init()  was wrong.
      
      Now, put my_thread_global_init(), which initializes the attri-
      butes that mutexes require.
      e3716a3d