1. 06 Jul, 2007 2 commits
  2. 05 Jul, 2007 1 commit
    • unknown's avatar
      BUG#27564 - Valgrind: UDF does not cleanup correctly · b7bf9725
      unknown authored
      Dropping an user defined function may cause server crash in
      case this function is still in use by another thread.
      
      The problem was that our hash implementation didn't update
      hash link list properly when hash_update() was called.
      
      
      mysys/hash.c:
        The following requirement wasn't met by hash_update() function
        causing corruption of hash links list:
        
        After a record was unlinked from the old chain during update, it
        holds random position. By the chance this position is equal to
        position for the first element in the new chain. That means
        updated record is the only record in the new chain.
      b7bf9725
  3. 04 Jul, 2007 1 commit
  4. 26 Jun, 2007 2 commits
    • unknown's avatar
      Fixed bug #29251. · 7fbf6303
      unknown authored
      Sometimes special 0 ENUM values was ALTERed to normal
      empty string ENUM values.
      
      Special 0 ENUM value has the same string representation
      as normal ENUM value defined as '' (empty string).
      The do_field_string function was used to convert
      ENUM data at an ALTER TABLE request, but this
      function doesn't care about numerical "indices" of
      ENUM values, i.e. do_field_string doesn't distinguish
      a special 0 value from an empty string value.
      
      A new copy function called do_field_enum has been added to
      copy special 0 ENUM values without conversion to an empty
      string.
      
      
      sql/field_conv.cc:
        Fixed bug #29251.
        The Copy_field::get_copy_func method has been modified to
        return a pointer to the do_field_enum function if a conversion
        between two columns of incompatible enum types is required.
        The do_field_enum function has been added for the correct
        conversion of special 0 enum values.
      mysql-test/t/type_enum.test:
        Updated test case for bug #29251.
      mysql-test/r/type_enum.result:
        Updated test case for bug #29251.
      7fbf6303
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/41 · 58419e9e
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/41
      
      
      58419e9e
  5. 25 Jun, 2007 1 commit
  6. 23 Jun, 2007 1 commit
  7. 22 Jun, 2007 1 commit
    • unknown's avatar
      Fix for bug #29079: Semantics of "bigint" depend on platform specifics (size, signedness of char ?) · ae587cfb
      unknown authored
      Problem: long and long long types mess in a comparison may lead to wrong results on some platforms.
      Fix: prefer [unsigned] long long as [u]longlong as it's used unconditionally in many places.
      
      
      include/my_global.h:
        Fix for bug #29079: Semantics of "bigint" depend on platform specifics (size, signedness of char ?)
          - use [unsigned] long long as [u]longlong if sizeof(long long) == 8, to avoid type mess,
            as we use [unsigned] long long unconditionally in many places, for example in constants 
            with [U]LL suffix.
      ae587cfb
  8. 20 Jun, 2007 1 commit
  9. 19 Jun, 2007 4 commits
  10. 18 Jun, 2007 6 commits
  11. 15 Jun, 2007 1 commit
  12. 14 Jun, 2007 2 commits
  13. 13 Jun, 2007 8 commits
  14. 12 Jun, 2007 2 commits
    • unknown's avatar
      Bug#28984: crasher on connect with out of range password length in \ · 3a364d51
      unknown authored
      	protocol
      
      Fixed duplicated code, same as last commit.
      
      One could send a malformed packet that caused the server to SEGV.  In 
      recent versions of the password protocol, the client tells the server 
      what length the ciphertext is (almost always 20).  If that length was
      large enough to overflow a signed char, then the number would jump to 
      very large after being casted to unsigned int.
      
      Instead, cast the *passwd char to uchar.
      
      
      sql/sql_parse.cc:
        Additional location of signed-char casted to uint.
      3a364d51
    • unknown's avatar
      VC++Files/sql/mysqld.vcproj · fd4f52a3
      unknown authored
          Ensure ".pdb" and ".map" files are created for the MySQL server, in all configurations.
      
      
      VC++Files/sql/mysqld.vcproj:
        Ensure ".pdb" and ".map" files are created for the MySQL server, in all configurations.
      fd4f52a3
  15. 11 Jun, 2007 2 commits
  16. 10 Jun, 2007 1 commit
    • unknown's avatar
      mysqldemb.vcproj: · fd2531c6
      unknown authored
        Added lots of missing files to make "mysqlserver.lib" complete (bug#29007)
      mysql.sln:
        Let 'mysqlserver' project also depend on 'vio', else "vio.lib" will
        not be linked into the "mysqlserver.lib" static embedded lib (bug#29007)
      
      
      VC++Files/mysql.sln:
        Let 'mysqlserver' project also depend on 'vio', else "vio.lib" will
        not be linked into the "mysqlserver.lib" static embedded lib (bug#29007)
      VC++Files/mysqldemb/mysqldemb.vcproj:
        Added lots of missing files to make "mysqlserver.lib" complete (bug#29007)
      fd2531c6
  17. 08 Jun, 2007 4 commits