1. 19 Mar, 2009 5 commits
    • Joerg Bruehe's avatar
      Fix "libedit" to use the proper symbols when checking · ac91cb1f
      Joerg Bruehe authored
      for Sun or HP (no <sys/ttydefaults.h> there),
      and include AIX in that exception list.
      
      Originally done by Kent Boortz for 5.1.32 on 2009-02-11 + 12
      and now backported into 5.1.31sp1
      ac91cb1f
    • Joerg Bruehe's avatar
      Set the version number for the SP build. · e8855a42
      Joerg Bruehe authored
      e8855a42
    • Joerg Bruehe's avatar
      This is a backport from 5.1.32 into 5.1.31sp1. · dc9f15ac
      Joerg Bruehe authored
      The original fix was done by Davi Arnaut on 2009-02-03
      All comments are copied from the original fix:
      
      
      Bug#42524: Function pthread_setschedprio() is defined but seems broken on i5/OS PASE
      
      The problem is that MySQL use of pthread_setschedprio is not
      supported i5/OS and the default system behavior for unsupported
      calls is to emit a SIGILL signal which causes the server to
      abort.
      
      The solution is to treat the pthread_setschedprio as inexistent
      when compiling binaries to i5/OS. This also does not invalidate
      the fix for bug 38477 as the only supported dispatch class is
      SCHED_OTHER (which is passed to pthread_setschedparam).
      dc9f15ac
    • Joerg Bruehe's avatar
      This is a backport from 5.1.32 into 5.1.31sp1. · 85217cb3
      Joerg Bruehe authored
      The original fix was done by Ramil Kalimullin on 2009-02-05
      All comments are copied from the original fix:
      
      
      Fix for bug#42014: Crash, name_const with collate
      
      Problem: some queries using NAME_CONST(.. COLLATE ...)
      lead to server crash due to failed type cast.
      
      Fix: return the underlying item's type in case of
      NAME_CONST(.. COLLATE ...) to avoid wrong casting.
      85217cb3
    • 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 5 commits