1. 27 Mar, 2008 3 commits
    • mattiasj@witty.'s avatar
      Merge witty.:/Users/mattiasj/clones/bug21413-50-engines · e26d5829
      mattiasj@witty. authored
      into  witty.:/Users/mattiasj/clones/bug21413-51-engines
      e26d5829
    • mattiasj@witty.'s avatar
      Merge witty.:/Users/mattiasj/Public/shared-vms/bug21413-41-engines · 16e83e55
      mattiasj@witty. authored
      into  witty.:/Users/mattiasj/clones/bug21413-50-engines
      16e83e55
    • mattiasj@witty.'s avatar
      Recommit of antonys previous commit. · c87874a1
      mattiasj@witty. authored
      Bug#21413
      "Engine table handler used by multiple threads in REPLACE DELAYED"
      When executing a REPLACE DELAYED statement, the storage engine
      ::extra() method was invoked by a different thread than the thread
      which has acquired the handler instance.
      
      This did not cause problems within the current server and with
      the current storage engines.
      But it has the potential to confuse future storage engines.
      
      Added code to avoid surplus calls to extra() method in case of DELAYED
      which avoids calling storage engine from a different thread than
      expected.
      
      No test case.
      This change does not change behavior in conjunction with current
      storage engines. So it cannot be tested by the regression test suite.
      c87874a1
  2. 25 Mar, 2008 4 commits
  3. 21 Mar, 2008 4 commits
  4. 20 Mar, 2008 4 commits
    • svoj@june.mysql.com's avatar
      Merge mysql.com:/home/svoj/devel/bk/mysql-5.1-engines · 129efd6a
      svoj@june.mysql.com authored
      into  mysql.com:/home/svoj/devel/mysql/BUG34768/mysql-5.1-engines
      129efd6a
    • svoj@mysql.com/june.mysql.com's avatar
      BUG#34788 - malformed federated connection url is not handled · 2b552aae
      svoj@mysql.com/june.mysql.com authored
                  correctly - crashes server !
      
      Creating federated table with connect string containing empty
      (zero-length) host name and port is evaluated as 0 (port is
      incorrect, omitted or 0) crashes server.
      
      This happens because federated calls strcmp() with NULL pointer.
      
      Fixed by avoiding strcmp() call if hostname is set to NULL.
      2b552aae
    • svoj@mysql.com/june.mysql.com's avatar
      BUG#34789 - drop server/create server leaks memory ! · 5309d2a5
      svoj@mysql.com/june.mysql.com authored
      When CREATE SERVER is issued, it allocates memory on memory root
      to store cached server structure. When DROP SERVER is issued,
      it doesn't release this memory, as it is impossible with the
      memory root.
      
      We use the same allocation strategy for plugins and acl. The problem
      here that there was no way (except for the server restart) to force
      'servers' code to release this memory.
      
      With this fix it is possible to release unused server cache memory
      by FLUSH PRIVILEGES.
      
      No test case for this fix.
      5309d2a5
    • svoj@mysql.com/june.mysql.com's avatar
      BUG#34790 - 'create server' doesn't handle out of memory scenario · 0d5bd0c6
      svoj@mysql.com/june.mysql.com authored
                  well enough
      
      CREATE SERVER may cause server crash if there is not enough memory
      to execute this operation.
      
      Fixed that create_server() and prepare_server_struct_for_insert()
      didn't check return value of functions that allocate memory.
      
      As this is out of memory issue fix, not test case available.
      0d5bd0c6
  5. 18 Mar, 2008 3 commits
  6. 17 Mar, 2008 3 commits
  7. 15 Mar, 2008 3 commits
  8. 14 Mar, 2008 13 commits
  9. 13 Mar, 2008 2 commits
  10. 12 Mar, 2008 1 commit