1. 19 Feb, 2009 2 commits
    • Alexey Kopytov's avatar
      Automerge. · 57b54ae7
      Alexey Kopytov authored
      57b54ae7
    • Alexey Kopytov's avatar
      Fix for bug #41078: With CURSOR_TYPE_READ_ONLY mysql_stmt_fetch() · c4f0c2d3
      Alexey Kopytov authored
      returns short string value. 
       
      Multibyte character sets were not taken into account when 
      calculating max_length in Item_param::convert_str_value(). As a 
      result, string parameters of a prepared statement could be 
      truncated later when calculating string length in characters by 
      dividing length in bytes by the charset's mbmaxlen value (e.g. in 
      Field_varstring::store()). 
       
      Fixed by taking charset's mbmaxlen into account when calculating 
      max_length in Item_param::convert_str_value().
      c4f0c2d3
  2. 15 Feb, 2009 3 commits
  3. 14 Feb, 2009 12 commits
  4. 13 Feb, 2009 15 commits
  5. 12 Feb, 2009 8 commits
    • Davi Arnaut's avatar
      Backport from 6.0 fix for Bug#38249 · 4d5668d9
      Davi Arnaut authored
      2722 Konstantin Osipov	2008-10-03
      Fix Bug#38249 innodb_log_arch_dir still in support files
      Remove a non-supported variable from cnf file templates.
      4d5668d9
    • Magnus Svensson's avatar
      Bug#42797 mtr.pl - temporary directory are deleted when child exit's · 07fad742
      Magnus Svensson authored
      - Since we are only using the auto cleanup in one place of mtr.pl today, disable the
      autocleanup and write our own END handler that clean up the tmpdir only when the process
      that created it exits.
      07fad742
    • Georgi Kodinov's avatar
      e2329215
    • Georgi Kodinov's avatar
      merged 5.0-bugteam to a working tree · ecae2a57
      Georgi Kodinov authored
      ecae2a57
    • Georgi Kodinov's avatar
      Bug #33813: Schema names are case-sensitive in DROP FUNCTION · 074dade3
      Georgi Kodinov authored
            
      Additional fix:
       1. Revert the unification of DROP FUNCTION
      and DROP PROCEDURE, because DROP FUNCTION can be used to
      drop UDFs (that have a non-qualified name and don't require
      database name to be present and valid).
       2. Fixed the case sensitivity problem by adding a call to 
      check_db_name() (similar to the sp_name production).
      074dade3
    • Sergey Vojtovich's avatar
      4c6692b7
    • V Narayanan's avatar
      Bug#40675 MySQL 5.1 crash with index merge algorithm and Merge tables · d325957f
      V Narayanan authored
                  
      A Query in the MyISAM merge table was crashing 
      if the index merge algorithm was being used
      
      Index Merge optimization requires the reading of 
      multiple indexes at the same time. Reading multiple 
      indexes at once with current SE API means that we 
      need to have handler instance for each to-be-read 
      index. This is done by creating clones of the handlers 
      instances. The clone internally does a open of the handler.
      
      The open for a MERGE engine is handled in the following 
      phases
      
      1) open parent table
      2) generate list of underlying
         table
      3) attach underlying tables
      
      But the current implementation does only the first 
      phase (i.e.) open parent table.
      
      The current patch fixes this at the MERGE engine level, 
      by handling the clone operation within the MERGE engine 
      rather than in the storage engine API. It opens and 
      attaches the MyISAM tables on the MyISAM storage engine 
      interface directly within the MERGE engine. The new MyISAM 
      table instances, as well as the MERGE clone itself, are not 
      visible in the table cache. This is not a problem because
      all locking is handled by the original MERGE table from which
      this is cloned of.
      d325957f
    • Sergey Vojtovich's avatar
      a1d1f1eb