1. 23 Oct, 2009 1 commit
    • Alexander Nozdrin's avatar
      Backport of patch for Bug#46267. · d7030396
      Alexander Nozdrin authored
      Original revision:
      ------------------------------------------------------------
      revno: 2801.10.16
      committer: Vladislav Vaintroub <vvaintroub@mysql.com>
      branch nick: mysql-azalea-bugfixing
      timestamp: Mon 2009-08-10 13:26:23 +0200
      message:
        Bug #46267 Shutdown with idle connection crash the server.
        
        The crash happens when mysqld logs a warning. The macro 
        ER() used in sql_print_warning references thread local storage
        variable via current_thd(), to output the warning in "current 
        user language". However, for the shutdown thread, 
        current_thd() will return NULL, and mysqld will crash while 
        derefencing NULL pointer.
        
        Solution: get error mesage text with ER_DEFAULT() macro 
        instead of ER(), this does not current_thd() and will output
        errors in default language.
      ------------------------------------------------------------
      d7030396
  2. 22 Oct, 2009 17 commits
  3. 21 Oct, 2009 5 commits
    • Alexander Nozdrin's avatar
      Backport WL#4098 from 6.0. · 2c5ee88a
      Alexander Nozdrin authored
      The value was changed from 1024 to 2048,
      because 1024 is already used.
      
      Original revision:
      ------------------------------------------------------------
      revno: 2476.657.259
      committer: tsmith@bk-internal.mysql.com
      timestamp: Tue 2008-01-29 19:32:44 +0100
      message:
        WL#4098: Add a status flag for slow queries
        
        Add new result set status flag SERVER_QUERY_WAS_SLOW in mysql_com.h.
        
        There is no server-side implementation to actually set this flag at this
        time.  This patch simply defines the interface so that applications can
        make use of it.  See the worklog for background.
      ------------------------------------------------------------
      2c5ee88a
    • Alexander Nozdrin's avatar
      Backporting WL#3953 from 6.0. Original revision: · 6756b0fc
      Alexander Nozdrin authored
      ```---------------------------------------------------------
      revno: 2476.714.9
      committer: markleith@medusa.mysql.com
      timestamp: Mon 2007-09-03 23:18:50 +0100
      message:
        Bug#25822 / WL#3953 - Log Access Denied errors for bad passwords in the error log
        
        Added logging of Access Denied messages on failed new connections to the 
        error log when log-warnings = 2.
        
        This allows a user to log these messages without having to incur the overhead
        of using the general query log on production systems.
      ```
      
      ---------------------------------------------------------
      6756b0fc
    • Alexander Nozdrin's avatar
      ff98b6a2
    • Alexander Barkov's avatar
      dcb8bb23
    • Bjorn Munch's avatar
      merge from next-mr · 0632e9a4
      Bjorn Munch authored
      0632e9a4
  4. 20 Oct, 2009 12 commits
  5. 19 Oct, 2009 5 commits