1. 04 May, 2011 2 commits
    • Alexander Nozdrin's avatar
      Manual merge from mysql-5.1. · e7dc2b0a
      Alexander Nozdrin authored
      e7dc2b0a
    • Alexander Nozdrin's avatar
      Patch for Bug#12394306: the sever may crash if mysql.event is corrupted. · 16f26d2a
      Alexander Nozdrin authored
      The problem was that wrong structure of mysql.event was not detected and
      the server continued to use wrongly-structured data.
      
      The fix is to check the structure of mysql.event after opening before
      any use. That makes operations with events more strict -- some operations
      that might work before throw errors now. That seems to be Ok.
      
      Another side-effect of the patch is that if mysql.event is corrupted,
      unrelated DROP DATABASE statements issue an SQL warning about inability
      to open mysql.event table. 
      16f26d2a
  2. 03 May, 2011 2 commits
  3. 02 May, 2011 5 commits
  4. 30 Apr, 2011 1 commit
  5. 29 Apr, 2011 15 commits
  6. 28 Apr, 2011 2 commits
    • Rafal Somla's avatar
      BUG#11879051: FIRST REPLY LENGTH LIMIT (255) CAN BE VIOLATED · 4eebae08
      Rafal Somla authored
      BEFORE: First packet sent by client-side plugin (generated by Windows
      function InitializeSecurityContext()) could be longer than 255 bytes 
      violating the limitation imposed by authentication protocol.
      
      AFTER: Handshake protocol is  changed so that if first client's reply is 
      longer than 254 bytes then  it is be sent in 2 parts. However, for replies
      shorter than 255 bytes nothing changes.
      
      ADDITIONAL CHANGES: 
      - The generic packet processing loop  (Handshake::packet_processing_loop) 
      has been refactored. Communication with the peer has been abstracted
      into virtual methods read/write_packet() which are implemented in client 
      and server and transparently do the required splitting and gluing of packets.
      - Make it possible to optionally use dbug library in the plugin.
      - Add code for testing splitting of long first client reply.
      4eebae08
    • Rafal Somla's avatar
      Bug#11766631 (59780) - Move the client authentication_windows plugin · c8e48ac3
      Rafal Somla authored
      into the server repository
      
      This patch adds client windows authentication plugin code to the client 
      library libmysql (only on Windows platform). The plugin is compiled into 
      the library and added to the list of built-in plugins. This way clients 
      should be able to connect to a server which uses windows authentication 
      plugin even as an SQL user which uses such authentication.
      
      Note: this makes the client library to depend on Secur32 Windows system
      library. When building clients, they must be linked against Secur32. 
      Command mysql_config --libs correctly lists Secur32 as a required 
      dependency.
      c8e48ac3
  7. 29 Apr, 2011 2 commits
  8. 28 Apr, 2011 2 commits
  9. 27 Apr, 2011 9 commits