1. 28 Sep, 2009 4 commits
  2. 25 Sep, 2009 3 commits
  3. 24 Sep, 2009 2 commits
  4. 23 Sep, 2009 6 commits
  5. 22 Sep, 2009 4 commits
  6. 21 Sep, 2009 4 commits
  7. 19 Sep, 2009 4 commits
  8. 18 Sep, 2009 5 commits
  9. 17 Sep, 2009 6 commits
    • Joerg Bruehe's avatar
      Fix bug#47137 · c78915b2
      Joerg Bruehe authored
          Solaris binary packages should be compiled with '-g0', not '-g'
      
      The main fix for this is done in the build tools,
      but in the sources it affects "configure.in"
      which sets "DEBUG_CXXFLAGS" to be used in all debug builds.
      c78915b2
    • Alexander Nozdrin's avatar
      Merge 5.1-bugteam -> trunk-alik. · d35001e7
      Alexander Nozdrin authored
      d35001e7
    • Joerg Bruehe's avatar
      Fix bug#46980 · db890516
      Joerg Bruehe authored
          Option "--without-server" still not working in 5.1
      
      The general approach is to make sure that source files
      which require thread support are only compiled if the build
      really needs thread support,
      which means when the server is built or a thread-safe client
      library.
      
      This required several changes:
      - Make sure the subdirectories "storage/" and "plugin/" are
        only processed if the server is built, not ifclient-only.
      - Make the compilation of some modules which inherently
        require threading depend on thread supportin the build.
      - Separate the handling of threading in "configure.in" from
        that of server issues, threading is also needed in a
        non-server build of a thread-safe client library.
      
      Also, "libdbug" must get built even in a client-only build,
      so "dbug/" must be in the list of client directories.
      
      In addition, calls to thread functions in source files which
      can be built without thread support must use the wrapper
      functions which handle the non-threaded build.
      So the modules "client/mysqlimport.c" and "client/mysqlslap.c"
      must call "my_thread_end()" only via "mysql_thread_end()".
      
      
      Makefile.am:
        The directories "storage/" and "plugin/" contain files
        which are needed for the server only, so their contents
        is to be built only if a server is built.
        
        They must not be named unconditionally, because building
        their contents will fail unless threads are enabled.
        
        These directories are now listed in the "configure"
        variable "sql_server_dirs" which becomes part of
        "sql_union_dirs" if the server is to be built.
      client/mysqlimport.c:
        Use the wrapper function "mysql_thread_end()" which
        correctly handles the case of a non-threaded build.
      client/mysqlslap.c:
        Use the wrapper function "mysql_thread_end()" which
        correctly handles the case of a non-threaded build.
      configure.in:
        Various changes to support builds "--without-server":
        
        1) For the unit tests, we need "libdbug".
        
        2) Separate the treatment of the server from that of the
           thread-safe client library.
        
        3) Introduce an "automake conditional" "NEED_THREAD"
           which can be checked in some "Makefile.am".
        
        4) Include "storage/" and "plugin/" in the list of
           "sql_server_dirs" so that they are handled in the
           top "Makefile.am" only if the server is to be built
           (see the change in that file).
      mysys/Makefile.am:
        The code of "mf_keycache.c" in 5.1 is no longer safe
        to be built without thread support.
        (In 5.0, this was possible.)
        
        Rather than fix these issues, which is tedious and risky,
        avoid the need to ever build it without thread support:
        It is needed in the server only, which needs thread support.
        
        The only case where we build a "libmysys" without thread
        support is for a non-threaded client, where "mf_keycache"
        is not neded.
        So its inclusion in the list of source files can depend
        on the new conditional "NEED_THREAD".
      unittest/mysys/Makefile.am:
        Test program "my_atomic-t" is to verify the correct handling
        of threads only, it cannot be built without thread support
        and is not needed in such cases either.
        
        Let its build depend on the new conditional "NEED_THREAD".
      db890516
    • Joerg Bruehe's avatar
      d0408492
    • Sergey Glukhov's avatar
      Bug#42364 SHOW ERRORS returns empty resultset after dropping non existent table · 2535ede7
      Sergey Glukhov authored
      additional backport of of bug43138 fix
      
      
      mysql-test/t/myisam-system.test:
        additional backport of of bug43138 fix
      sql/sql_db.cc:
        additional backport of of bug43138 fix
      2535ede7
    • Satya B's avatar
      Applying InnoDB snapshot 5.1-ss5282, Fixes BUG#44030 · 7cf8f7a4
      Satya B authored
      1. Fixes BUG#44030 - Error: (1500) Couldn't read the MAX(ID) autoinc value 
                           from the index (PRIMARY)
      
      2. Disables the innodb-autoinc test for innodb plugin temporarily.
         The testcase for this bug has different result file for InnoDB plugin.
         Should add the testcase to Innodb suite with a different result file.
      
      Detailed revision comments:
      
      r5243 | sunny | 2009-06-04 03:17:14 +0300 (Thu, 04 Jun 2009) | 14 lines
      branches/5.1: When the InnoDB and MySQL data dictionaries go out of sync, before
      the bug fix we would assert on missing autoinc columns. With this fix we allow
      MySQL to open the table but set the next autoinc value for the column to the
      MAX value. This effectively disables the next value generation. INSERTs will
      fail with a generic AUTOINC failure. However, the user should be able to
      read/dump the table, set the column values explicitly, use ALTER TABLE to
      set the next autoinc value and/or sync the two data dictionaries to resume
      normal operations.
      
      Fix Bug#44030 Error: (1500) Couldn't read the MAX(ID) autoinc value from the
      index (PRIMARY)
      
      rb://118
      
      r5252 | sunny | 2009-06-04 10:16:24 +0300 (Thu, 04 Jun 2009) | 2 lines
      branches/5.1: The version of the result file checked in was broken in r5243.
      
      r5259 | vasil | 2009-06-05 10:29:16 +0300 (Fri, 05 Jun 2009) | 7 lines
      branches/5.1:
      
      Remove the word "Error" from the printout because the mysqltest suite
      interprets it as an error and thus the innodb-autoinc test fails.
      
      Approved by:	Sunny (via IM)
      r5466 | vasil | 2009-07-02 10:46:45 +0300 (Thu, 02 Jul 2009) | 6 lines
      branches/5.1:
      
      Adjust the failing innodb-autoinc test to conform to the latest behavior
      of the MySQL code. The idea and the comment in innodb-autoinc.test come
      from Sunny.
      
      7cf8f7a4
  10. 16 Sep, 2009 2 commits