1. 16 May, 2011 4 commits
  2. 14 May, 2011 2 commits
  3. 13 May, 2011 4 commits
  4. 12 May, 2011 14 commits
  5. 11 May, 2011 7 commits
    • Luis Soares's avatar
      BUG#12416700 · efc20dca
      Luis Soares authored
      Automerged bzr bundle from bug report into latest mysql-5.5.
      efc20dca
    • Magnus Blåudd's avatar
      Merge bug 12384993 · d8a9b36b
      Magnus Blåudd authored
      d8a9b36b
    • Alexander Nozdrin's avatar
      Ignore auto-generated files. · cbf455cf
      Alexander Nozdrin authored
      cbf455cf
    • Georgi Kodinov's avatar
      merge from mysql-5.5 · 621dc095
      Georgi Kodinov authored
      621dc095
    • MySQL Build Team's avatar
      Cloning of the 5.5.13 release from Mysql-5.5, · 94f42465
      MySQL Build Team authored
      increase the version number by two
      94f42465
    • Georgi Kodinov's avatar
      Bug #11744875: 4082: integer lengths cause truncation with distinct concat · a914a321
      Georgi Kodinov authored
      and innodb
      
      The 5.5 version of the patch.
      
      The server doesn't restrict the data that can be inserted into integer columns 
      with explicitly specified length that's smaller than what the type can handle,
      e.g. 1234 can be inserted into an INT(2) column just fine.
      Thus, when calcualting the maximum width of expressions involving such 
      restricted integer columns we need to use the implicit maximum width of 
      the field instead of the explicitly speficied one.
      Fixed the server to use the implicit maximum in such cases and made sure 
      the implicit maximum is addjusted the same way as the explicit one wrt
      signedness.
      
      Fixed several test case results (ctype_*.result, metadata.result and 
      type_ranges.result) to reflect the extended column widths.
      
      Added a regression test case in distinct.test.
      
      Note : this is the behavior preserving fix that makes 5.5 behave as 5.1 and 
      earlier. In the mysql trunk we'll add a insert time check for the explict 
      maximum size.
      a914a321
    • Magnus Blåudd's avatar
      Bug#12384993 EXTRA/RPL_TEST/CHECK_TYPE.INC NEED SUPPORT FOR SPECIFIC ENGINE · f8e86f50
      Magnus Blåudd authored
       - add support for choosing the engine of test
          table(t1) with $engine_type
       - add primary key to the test table(t1) to support
         replication of BLOB/TEXT (also with ENGINE=ndb)
       - change the suppression since the warning printed to error log
        now says "Column 1"
      f8e86f50
  6. 10 May, 2011 4 commits
  7. 09 May, 2011 4 commits
    • Serge Kozlov's avatar
      automerge 5.1->5.5 · 4dde6843
      Serge Kozlov authored
      4dde6843
    • Serge Kozlov's avatar
      WL#5867 · e8b54a7c
      Serge Kozlov authored
      Replaced the error code by error name
      e8b54a7c
    • Bjorn Munch's avatar
      WL #5680 MTR results written to file with well defined format · 5a75bb9f
      Bjorn Munch authored
      Added --result-file option, which will produce var/mtr-results.txt
      Output has a simple format:
      
      <tag> : <value>  for general info on test run
      {
        <tag> : <value>
        ....
      }                for each test
      
      Output from failed tests are included but may be truncated.
      See WL for more details.
      5a75bb9f
    • Alexander Nozdrin's avatar
      Patch for Bug#12362125 (SP INOUT HANDLING IS BROKEN FOR TEXT TYPE). · 75498ef9
      Alexander Nozdrin authored
      Attempts to assign value to a table column from trigger by using
      NEW.column_name pseudo-variable might result in garbled data.
      That happened when:
        - the column had a BLOB-based type (e.g. TEXT)
          and
        - the value being assigned was retrieved from stored routine variable
          of the same type.
      
      The problem was that BLOB values were not copied correctly in this
      case. Instead of doing a copy of a real value, the value's representation
      in record buffer was copied. This representation is essentially a
      pointer to a buffer associated with the virtual table for routine
      variables where the real value is stored. Since this buffer got
      freed once trigger was left or could have changed its contents when
      new value was assigned to corresponding routine variable such a shallow
      copying resulted in garbled data in NEW.colum_name column.
      
      It worked in 5.1 due to a subtle bug in create_virtual_tmp_table():
        - in 5.1 create_virtual_tmp_table() returned a table which
          had db_low_byte_first == false.
        - in 5.5 and up create_virtual_tmp_table() returns a table which
          has db_low_byte_first == true.
      Actually, db_low_byte_first == false only for ISAM storage engine,
      which was deprecated and removed in 5.0.
      
      Having db_low_byte_first == false led to getting false in the
      complex condition for the 2nd "if" in field_conv(), which in turn
      led to copy-blob-behavior as a fall-back strategy:
        - to->table->s->db_low_byte_first was true (correct value)
        - from->table->s->db_low_byte_first was false (incorrect value)
      
      In 5.5 and up that condition is true, which means blob-values are
      not copied.
      75498ef9
  8. 06 May, 2011 1 commit
    • Alexander Nozdrin's avatar
      Patch for Bug#12374486 - SEVERE MEMORY LEAK IN PREPARED STATEMENTS · cd501675
      Alexander Nozdrin authored
      THAT CALL STORED PROCEDURES.
      
      The bug was introduced by WL#4435. The problem was that if a stored
      procedure generated a few result sets with different set of columns,
      a new memory would be allocated after every EXECUTE for every
      result set.
      
      The fix is to introduce a new memory root in scope of MYSQL_STMT,
      and to store result-set metadata in that memory root.
      cd501675