1. 05 Oct, 2009 1 commit
  2. 22 Sep, 2009 12 commits
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · f9555887
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3092.1.2 [merge]
      > revision-id: joro@sun.com-20090831134035-wndnw04gy8kzogpm
      > parent: anurag.shekhar@sun.com-20090831075609-tkpqu41hxtupdeip
      > parent: joro@sun.com-20090827114042-h55n7qp9990bl6ge
      > committer: Georgi Kodinov <joro@sun.com>
      > branch nick: B46749-5.1-bugteam
      > timestamp: Mon 2009-08-31 16:40:35 +0300
      > message:
      >   automerge
      > ------------------------------------------------------------
      > Use --include-merges or -n0 to see merged revisions.
      f9555887
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · 55baa0c5
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3085 [merge]
      > revision-id: sergey.glukhov@sun.com-20090827105925-j56pdghdzb8nlw3p
      > parent: alfranio.correia@sun.com-20090827093227-9exafl3k6362bvq7
      > parent: sergey.glukhov@sun.com-20090827102219-sgjz0v5t1rfccs14
      > committer: Sergey Glukhov <Sergey.Glukhov@sun.com>
      > branch nick: mysql-5.1-bugteam
      > timestamp: Thu 2009-08-27 15:59:25 +0500
      > message:
      >   5.0-bugteam->5.1-bugteam merge
      > ------------------------------------------------------------
      > Use --include-merges or -n0 to see merged revisions.
      55baa0c5
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · 7d520f51
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3075
      > revision-id: ramil@mysql.com-20090821055535-a5aeas33epokjjnp
      > parent: joro@sun.com-20090820141122-gq6eyozybvar4o4s
      > committer: Ramil Kalimullin <ramil@mysql.com>
      > branch nick: mysql-5.1-bugteam
      > timestamp: Fri 2009-08-21 10:55:35 +0500
      > message:
      >   Fix for bug #46456 [Ver->Prg]: HANDLER OPEN + TRUNCATE + DROP
      >   (temporary) TABLE, crash
      >   
      >   Problem: if one has an open "HANDLER t1", further "TRUNCATE t1" 
      >   doesn't close the handler and leaves handler table hash in an 
      >   inconsistent state, that may lead to a server crash.
      >   
      >   Fix: TRUNCATE should implicitly close all open handlers.
      >   
      >   Doc. request: the fact should be described in the manual accordingly.
      7d520f51
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · f69f4c09
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3068
      > revision-id: ramil@mysql.com-20090813194928-3djdqvpock0pxhgp
      > parent: li-bing.song@sun.com-20090813024857-1emgf5lhj0zikoj8
      > committer: Ramil Kalimullin <ramil@mysql.com>
      > branch nick: mysql-5.1-bugteam
      > timestamp: Fri 2009-08-14 00:49:28 +0500
      > message:
      >   Fix for bug #46614: Assertion in show_create_trigger() 
      >   on SHOW CREATE TRIGGER + MERGE table
      >   
      >   Problem: SHOW CREATE TRIGGER erroneously relies on fact
      >   that we have the only underlying table for a trigger
      >   (wrong for merge tables).
      >   
      >   Fix: remove erroneous assert().
      f69f4c09
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · 191c0c0b
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3059 [merge]
      > revision-id: martin.hansson@sun.com-20090810140851-aw5peehzdxi4gjja
      > parent: iggy@mysql.com-20090806145453-ion37sfdsldwwjrj
      > parent: martin.hansson@sun.com-20090807115140-7fn6wjx0mrui7zl5
      > committer: Martin Hansson <martin.hansson@sun.com>
      > branch nick: 5.1bt
      > timestamp: Mon 2009-08-10 16:08:51 +0200
      > message:
      >   Merge
      > ------------------------------------------------------------
      > Use --include-merges or -n0 to see merged revisions.
      191c0c0b
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · 35bac688
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3044.1.3
      > revision-id: kristofer.pettersson@sun.com-20090729224404-hwevly1cbi7gojf0
      > parent: kristofer.pettersson@sun.com-20090729202743-tp9ihd5xavq8eguw
      > committer: Kristofer Pettersson <kristofer.pettersson@sun.com>
      > branch nick: mysql-5.1-bugteam
      > timestamp: Thu 2009-07-30 00:44:04 +0200
      > message:
      >   Bug#44521 Prepared Statement: CALL p() - crashes: `! thd->main_da.is_sent' failed et.al.
      >   
      >   Fixed wrong prototype declaration which cased build failure on solaris.
      35bac688
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · a96a92d6
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3044.1.1
      > revision-id: kristofer.pettersson@sun.com-20090729200708-cb0td7n9r5md0aa0
      > parent: davi.arnaut@sun.com-20090728195938-qabe9ldm2l4k8xns
      > committer: Kristofer Pettersson <kristofer.pettersson@sun.com>
      > branch nick: mysql-5.1-bugteam
      > timestamp: Wed 2009-07-29 22:07:08 +0200
      > message:
      >   Bug#44521 Executing a stored procedure as a prepared statement can sometimes cause
      >             an assertion in a debug build.
      >   
      >   The reason is that the C API doesn't support multiple result sets for prepared
      >   statements and attempting to execute a stored routine which returns multiple result
      >   sets sometimes lead to a network error. The network error sets the diagnostic area
      >   prematurely which later leads to the assert when an attempt is made to set a second
      >   server state.
      >   
      >   This patch fixes the issue by changing the scope of the error code returned by
      >   sp_instr_stmt::execute() to include any error which happened during the execution.
      >   To assure that Diagnostic_area::is_sent really mean that the message was sent all
      >   network related functions are checked for return status.
      a96a92d6
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · 868f1fa4
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3028 [merge]
      > revision-id: davi.arnaut@sun.com-20090715182250-ru0l00nqqlcfqe8n
      > parent: ramil@mysql.com-20090715102544-ejid81yz8k39m2fa
      > parent: kostja@sun.com-20090715170034-kjzpmq3px90pedw7
      > committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
      > branch nick: 44495-5.1
      > timestamp: Wed 2009-07-15 15:22:50 -0300
      > message:
      >   Bug#44495: Prepared Statement: CALL p(<x>) - `thd->protocol == &thd->protocol_text' failed
      >   
      >   Merge Konstantin's patch and add a test case.
      > ------------------------------------------------------------
      > Use --include-merges or -n0 to see merged revisions.
      868f1fa4
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · 0005020f
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3027
      > revision-id: ramil@mysql.com-20090715102544-ejid81yz8k39m2fa
      > parent: anurag.shekhar@sun.com-20090715101345-6n3o8wf8woyaqlwc
      > committer: Ramil Kalimullin <ramil@mysql.com>
      > branch nick: mysql-5.1-bugteam
      > timestamp: Wed 2009-07-15 15:25:44 +0500
      > message:
      >   Addition to #45998 fix, result adjusted.
      0005020f
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · 55b0d977
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3019.1.3
      > revision-id: ramil@mysql.com-20090714150729-xqv7aicsnoz6epy6
      > parent: jimw@mysql.com-20090713191116-c8qxsrjagzbvbytj
      > committer: Ramil Kalimullin <ramil@mysql.com>
      > branch nick: b45998-5.1-bugteam
      > timestamp: Tue 2009-07-14 20:07:29 +0500
      > message:
      >   Fix for bug#45998: database crashes when running
      >   "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.
      55b0d977
    • MySQL Build Team's avatar
      Backport into build-200909221805-5.1.37sp1 · fe8304cf
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 2949.5.6
      > revision-id: jperkin@sun.com-20090824091334-6ktgrhq218vl7zq1
      > parent: joerg@mysql.com-20090821095644-12woawc4d2d3u7k4
      > committer: Jonathan Perkin <jperkin@sun.com>
      > branch nick: mysql-5.1-build
      > timestamp: Mon 2009-08-24 10:13:34 +0100
      > message:
      >   Apply changes from mysql-5.1.38-release clone:
      >   
      >    - Add conditionals for bundled zlib and innodb plugin.
      >    - Apply patch from bug#46834 to install the test suite in RPMs.
      >    - Add plugins to RPMs.  Disable example plugins.
      fe8304cf
    • timothy.smith@sun.com's avatar
      1e755480
  3. 13 Jul, 2009 5 commits
  4. 12 Jul, 2009 1 commit
  5. 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
  6. 10 Jul, 2009 16 commits
  7. 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