1. 19 Mar, 2009 1 commit
    • Joerg Bruehe's avatar
      This is a backport of a fix applied in 5.1.32 into 5.1.31sp1 · 95163cec
      Joerg Bruehe authored
      The original fix was done by Jonathan Perkin and committed by Georgi Kodinov
      on 2009-02-10.
      The same day, Georgi added a compilation fix which is already included here.
      
      
      Original comment:
        Merge libedit 2.11 and related files,
        based on NetBSD CVS as of 2009/02/06 20:09:00.
      95163cec
  2. 18 Mar, 2009 3 commits
    • Joerg Bruehe's avatar
      This is a backport from 5.1.32 into 5.1.31sp1. · d0e77a40
      Joerg Bruehe authored
      The original fix was done by Sergey Glukhov on 2009-02-04
      All comments are copied from the original fix:
      
      
      Bug#42495 updatexml: Assertion failed: xpath->context,
                           file .\item_xmlfunc.cc, line 2507
      Problem:
         RelativeLocationPath can appear only after a node-set expression
         in the third and the fourth branches of this rule:
           PathExpr :: =  LocationPath
                          | FilterExpr
                          | FilterExpr '/' RelativeLocationPath
                          | FilterExpr '//' RelativeLocationPath
         XPatch code didn't check the type of FilterExpr and crashed.
      Fix:
         If FilterExpr is a scalar expression
         (variable reference, literal, number, scalar function call)
         return error.
      d0e77a40
    • Joerg Bruehe's avatar
      This is a backport from 5.1.32 into 5.1.31sp1. · 37f64c12
      Joerg Bruehe authored
      The original fix was done by Gleb Shchepa on 2009-01-21
      All comments are copied from the original fix:
      
      
      Bug#42188: crash and/or memory corruption with user variables 
                 in trigger
      
      Interchangeable calls to the mysql_change_user client function 
      and invocations of a trigger changing some user variable caused 
      a memory corruption and a crash.
      
      The mysql_change_user API call forces TDH::cleanup() on a server 
      that frees user variable entries.
      However it didn't reset Item_func_set_user_var::entry to NULL 
      because Item_func_set_user_var::cleanup() was not overloaded.
      So, Item_func_set_user_var::entry held a pointer to freed memory,
      that caused a crash.
      
      The Item_func_set_user_var::cleanup method has been overloaded
      to cleanup the Item_func_set_user_var::entry field.
      37f64c12
    • Joerg Bruehe's avatar
      This is a backport from 5.1.32 into 5.1.31sp1. · 7dd62b16
      Joerg Bruehe authored
      The original fix was done by Georgi Kodinov on 2009-01-28
      All comments are copied from the original fix:
      
      
      Bug #42366: server-cert.pem expired: "Not After : Jan 27 08:54:13 2009 GMT"
      
      Re-generated the PKI files needed.
      Removed the ones that are not needed.
      Updated the tests to reference the correct SSL subject.
      7dd62b16
  3. 19 Jan, 2009 1 commit
  4. 17 Jan, 2009 1 commit
  5. 16 Jan, 2009 1 commit
  6. 15 Jan, 2009 4 commits
  7. 14 Jan, 2009 7 commits
  8. 13 Jan, 2009 7 commits
  9. 12 Jan, 2009 6 commits
  10. 09 Jan, 2009 9 commits