1. 14 Jul, 2009 1 commit
    • Ramil Kalimullin's avatar
      Fix for bug#45998: database crashes when running · 54bdf78e
      Ramil Kalimullin authored
      "create as select" (innodb table)
      
      Problem: code constructing "CREATE TABLE..." statement
      doesn't take into account that current database is not set
      in some cases. That may lead to a server crash.
      
      Fix: check if current database is set.
      54bdf78e
  2. 13 Jul, 2009 4 commits
  3. 12 Jul, 2009 1 commit
  4. 11 Jul, 2009 1 commit
    • Gleb Shchepa's avatar
      Bug #41156: List of derived tables acts like a chain of · 8724706a
      Gleb Shchepa authored
                  mutually-nested subqueries
      
      Queries of the form
      
        SELECT * FROM (SELECT 1) AS t1,
                      (SELECT 2) AS t2,...
                      (SELECT 32) AS t32
      
      caused the "Too high level of nesting for select" error
      as if the query has a form
      
        SELECT * FROM (SELECT 1 FROM (SELECT 2 FROM (SELECT 3 FROM...
      
      
      The table_factor parser rule has been modified to adjust
      the LEX::nest_level variable value after every derived table.
      8724706a
  5. 10 Jul, 2009 16 commits
  6. 08 Jul, 2009 4 commits
    • Staale Smedseng's avatar
      Bug #43397 mysql headers redefine pthread_mutex_init · f46dba5a
      Staale Smedseng authored
      unnecessarily
            
      The problem is that libmysqlclient.so is built with THREAD
      undefined, while a client compiling against the same header
      files will see THREAD as defined and definitions in
      my_pthread.h will be included, possibly resulting in undefined
      symbols that cannot be resolved with libmysqlclient.so.
            
      The suggested solution is to require that clients wanting to
      link with libmysqlclient.so should be built with
      MYSQL_CLIENT_NO_THREADS defined. This requires a documentation
      change, and more details for this will be supplied if this
      patch is approved.
            
      The MYSQL_CLIENT_NO_THREADS define was renamed from
      UNDEF_THREADS_HACK, to get a more suitable (less suspicious)
      name for the define. (The UNDEF_THREADS_HACK is retained for
      backwards compatibility, though.)
            
      This patch is also in anticipation of WL#4958, which will
      remove this problem altogether by dropping the building of
      libmysqlclient.
      f46dba5a
    • Georgi Kodinov's avatar
      automerge · 1bf7e45b
      Georgi Kodinov authored
      1bf7e45b
    • Georgi Kodinov's avatar
      Addendum to the fix for bug 45807 : initialize a member needed in · 7c28ec97
      Georgi Kodinov authored
      Item_field::fix_fields()
      7c28ec97
    • Georgi Kodinov's avatar
  7. 07 Jul, 2009 10 commits
  8. 09 Jul, 2009 3 commits