1. 24 Jun, 2009 4 commits
    • MySQL Build Team's avatar
      Backport into build-200906240007-5.1.34sp1 · b917b39d
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 2852.1.15
      > revision-id: davi.arnaut@sun.com-20090409152525-b4vnj9atidmjh0mf
      > parent: luis.soares@sun.com-20090409113044-2072kufy5efeohpp
      > committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
      > branch nick: 43706-5.1
      > timestamp: Thu 2009-04-09 12:25:25 -0300
      > message:
      >   Bug#43706: libmysqld segfaults when re-intialised
      >   Bug#44091: libmysqld gets stuck waiting on mutex on initialization
      >   
      >   The problem was that libmysqld wasn't enforcing a certain
      >   initialization and deinitialization order for the mysys
      >   library. Another problem was that the global object used
      >   for management of log event handlers (aka LOGGER) wasn't
      >   being prepared for a possible reutilization.
      >   
      >   What leads to the hang/crash reported is that a failure
      >   to load the language file triggers a double call of the
      >   cleanup functions, causing an already destroyed mutex to
      >   be used.
      >   
      >   The solution is enforce a order on the initialization and
      >   deinitialization of the mysys library within the libmysqld
      >   library and to ensure that the global LOGGER object reset
      >   it's internal state during cleanup.
      b917b39d
    • MySQL Build Team's avatar
      Backport into build-200906240007-5.1.34sp1 · c6fdd918
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 2852.1.10
      > revision-id: sergey.glukhov@sun.com-20090409093850-z3vgmz8fqogv8o1o
      > parent: v.narayanan@sun.com-20090409081823-zsw611isjcorl63b
      > parent: sergey.glukhov@sun.com-20090409091931-2zhtgonllfmsxjex
      > committer: Sergey Glukhov <Sergey.Glukhov@sun.com>
      > branch nick: mysql-5.1-bugteam
      > timestamp: Thu 2009-04-09 14:38:50 +0500
      > message:
      >   5.0-bugteam->5.1-bugteam merge
      >     ------------------------------------------------------------
      >     revno: 1810.3882.6
      >     revision-id: sergey.glukhov@sun.com-20090409091931-2zhtgonllfmsxjex
      >     parent: anurag.shekhar@sun.com-20090409080004-xvxy663jan45tb3c
      >     committer: Sergey Glukhov <Sergey.Glukhov@sun.com>
      >     branch nick: mysql-5.0-bugteam
      >     timestamp: Thu 2009-04-09 14:19:31 +0500
      >     message:
      >       Bug#43833 Simple INSERT crashes the server
      >       The crash happens due to wrong 'digits' variable value(0),
      >       'digits' can not be 0, so the fix is use 1 as min allowed value.
      c6fdd918
    • MySQL Build Team's avatar
      Backport into mysql-5.1.34sp1-release · 0bc567d0
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 2841.1.1
      > revision-id: sergey.glukhov@sun.com-20090401084033-161k4f8qucafy6mj
      > parent: ramil@mysql.com-20090401053459-07x8z2pw2ev94xck
      > committer: Sergey Glukhov <Sergey.Glukhov@sun.com>
      > branch nick: mysql-5.1-bugteam
      > timestamp: Wed 2009-04-01 13:40:33 +0500
      > message:
      >   Bug#43183 ExctractValue() brings result list in missorder
      >   The problem is that XML functions(items) do not reset null_value
      >   before their execution and further item excution may use
      >   null_value value of the previous result.
      >   The fix is to reset null_value.
      0bc567d0
    • MySQL Build Team's avatar
      Backport into mysql-5.1.34sp1-release · e4e5c649
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 1810.3885.1
      > revision-id: holyfoot@mysql.com-20090428094726-i4j7z985mxr43jym
      > parent: gshchepa@mysql.com-20090428001913-plzojd1pwplior44
      > committer: Alexey Botchkov <holyfoot@mysql.com>
      > branch nick: 50mrg
      > timestamp: Tue 2009-04-28 14:47:26 +0500
      > message:
      >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
      >      the Point() and Linestring() functions create WKB representation of an
      >      object instead of an real geometry object.
      >      That produced bugs when these were inserted into tables.
      >   
      >      GIS tests fixed accordingly.
      >               
      >   per-file messages:
      >     mysql-test/r/gis-rtree.result
      >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
      >       test result
      >     mysql-test/r/gis.result
      >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
      >       test result
      >     mysql-test/t/gis-rtree.test
      >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
      >       test fixed - GeomFromWKB invocations removed
      >     mysql-test/t/gis.test
      >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
      >       test fixed - AsWKB invocations added
      >     sql/item_geofunc.cc
      >   Bug#38990 Arbitrary data input plus GIS functions causes mysql server crash 
      >        Point() and similar functions to create a proper object
      e4e5c649
  2. 02 Apr, 2009 1 commit
  3. 01 Apr, 2009 1 commit
  4. 31 Mar, 2009 1 commit
  5. 27 Mar, 2009 9 commits
  6. 26 Mar, 2009 5 commits
  7. 25 Mar, 2009 13 commits
  8. 24 Mar, 2009 6 commits
    • Alexey Kopytov's avatar
      Automerge. · e484d6fa
      Alexey Kopytov authored
      e484d6fa
    • Alexey Kopytov's avatar
      Automerge. · 06554a3b
      Alexey Kopytov authored
      06554a3b
    • Alexey Kopytov's avatar
      Automerge. · 159b18fa
      Alexey Kopytov authored
      159b18fa
    • Alexey Kopytov's avatar
      Manuel merge. · b3901af1
      Alexey Kopytov authored
      b3901af1
    • Alexey Kopytov's avatar
      Fix for bug #43801: mysql.test takes too long, fails due to · b071b660
      Alexey Kopytov authored
                          expired timeout on debx86-b in PB 
      
      Moved the resource-intensive test case for bug #41486 into 
      a separate test file to reduce execution time for mysql.test. 
      b071b660
    • Luis Soares's avatar
      BUG#39701: Mixed binlog format does not switch to row mode on · 6dff8012
      Luis Soares authored
      LOAD_FILE
                  
      LOAD_FILE is not safe to replicate in STATEMENT mode, because it
      depends on a file (which is loaded on master and may not exist in
      slave(s)). This leads to scenarios on which the slave replicates the
      statement with 'load_file' and it will try to load the file from local
      file system. Given that the file may not exist in the slave filesystem
      the operation will not succeed (probably returning NULL), causing
      master and slave(s) to diverge. However, when using MIXED mode
      replication, this can be made to work, if the statement including
      LOAD_FILE is marked as unsafe, triggering a switch to ROW mode,
      meaning that the contents of the file are written to binlog as row
      events. Consequently, the contents from the file in the master will
      reach the slave via the binlog.
                 
      This patch addresses this bug by marking the load_file function as
      unsafe. When in mixed mode and when LOAD_FILE is issued, there will be
      a switch to row mode. Furthermore, when in statement mode, the
      LOAD_FILE will raise a warning that the statement is unsafe in that
      mode.
      6dff8012