1. 02 Aug, 2007 3 commits
  2. 01 Aug, 2007 1 commit
  3. 31 Jul, 2007 1 commit
  4. 30 Jul, 2007 7 commits
  5. 29 Jul, 2007 1 commit
  6. 27 Jul, 2007 9 commits
    • jperkin@production.mysql.com's avatar
      Merge jperkin@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 88ef9a42
      jperkin@production.mysql.com authored
      into  production.mysql.com:/usersnfs/jperkin/bk/mysql-5.0
      88ef9a42
    • jperkin@production.mysql.com's avatar
      Merge jperkin@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 7731aad6
      jperkin@production.mysql.com authored
      into  production.mysql.com:/usersnfs/jperkin/bk/mysql-5.0
      7731aad6
    • kent@mysql.com/kent-amd64.(none)'s avatar
      SSL/Makefile.am mysql-test/Makefile.am: · 519ebab0
      kent@mysql.com/kent-amd64.(none) authored
        Moved CERT files to where they are used, avoids conflict
        between two make files trying to install the same CERTs
      SSL/*.pem, 
        Move: SSL/*.pem -> mysql-test/std_data/
      519ebab0
    • thek@adventure.(none)'s avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug29929/my50-bug29929 · 8f5fad2c
      thek@adventure.(none) authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.0-runtime
      8f5fad2c
    • thek@adventure.(none)'s avatar
      Bug #29929 LOCK TABLES does not pre-lock tables used in triggers of the locked tables · 889b4ebc
      thek@adventure.(none) authored
      When a table was explicitly locked with LOCK TABLES no associated
      tables from any related trigger on the subject table were locked.
      As a result of this the user could experience unexpected locking
      behavior and statement failures similar to "failed: 1100: Table'xx'
      was not locked with LOCK TABLES".
      
      This patch fixes this problem by making sure triggers are
      pre-loaded on any statement if the subject table was explicitly
      locked with LOCK TABLES.
      889b4ebc
    • jperkin@production.mysql.com's avatar
      More fixes and cleanups for bug#28585: · d5293e45
      jperkin@production.mysql.com authored
        - make the 'dist-hook' from top-level Makefile work again.
        - we can find my_print_defaults from --basedir by parsing command
          line arguments prior to running my_print_defaults.
        - take advantage of additional command line parsing and allow the
          --no-defaults etc arguments to work anywhere rather than having
          to be the first argument.
        - find SQL files either from binary archive or source install.
        - consolidate and tidy code and error messages.
      d5293e45
    • kostja@bodhi.(none)'s avatar
      A fix and a test case for Bug#24918 drop table and lock / inconsistent · 11c57540
      kostja@bodhi.(none) authored
      between perm and temp tables. Review fixes.
      
      The original bug report complains that if we locked a temporary table
      with LOCK TABLES statement, we would not leave LOCK TABLES mode
      when this temporary table is dropped.
      
      Additionally, the bug was escalated when it was discovered than
      when a temporary transactional table that was previously
      locked with LOCK TABLES statement was dropped, futher actions with
      this table, such as UNLOCK TABLES, would lead to a crash.
      
      The problem originates from incomplete support of transactional temporary
      tables. When we added calls to handler::store_lock()/handler::external_lock()
      to operations that work with such tables, we only covered the normal
      server code flow and did not cover LOCK TABLES mode. 
      In LOCK TABLES mode, ::external_lock(LOCK) would sometimes be called without
      matching ::external_lock(UNLOCK), e.g. when a transactional temporary table
      was dropped. Additionally, this table would be left in the list of LOCKed 
      TABLES.
      
      The patch aims to address this inadequacy. Now, whenever an instance
      of 'handler' is destroyed, we assert that it was priorly
      external_lock(UNLOCK)-ed. All the places that violate this assert
      were fixed.
      
      This patch introduces no changes in behavior -- the discrepancy in
      behavior will be fixed when we start calling ::store_lock()/::external_lock()
      for all tables, regardless whether they are transactional or not, 
      temporary or not.
      11c57540
    • svoj@june.mysql.com's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 81905ee1
      svoj@june.mysql.com authored
      into  mysql.com:/home/svoj/devel/mysql/BUG29957/mysql-5.0-engines
      81905ee1
    • svoj@mysql.com/june.mysql.com's avatar
      BUG#29957 - alter_table.test fails · 9d1bfec2
      svoj@mysql.com/june.mysql.com authored
      INSERT/DELETE/UPDATE followed by ALTER TABLE within LOCK TABLES
      may cause table corruption on Windows.
      
      That happens because ALTER TABLE writes outdated shared state
      info into index file.
      
      Fixed by removing obsolete workaround.
      
      Affects MyISAM tables on Windows only.
      9d1bfec2
  7. 26 Jul, 2007 13 commits
  8. 25 Jul, 2007 5 commits
    • gshchepa/uchum@gleb.loc's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0 · bb22e366
      gshchepa/uchum@gleb.loc authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      bb22e366
    • acurtis/antony@xiphis.org/ltamd64.xiphis.org's avatar
      Bug#25679 · fbcd70a4
        "Federated Denial of Service"
        Federated storage engine used to attempt to open connections within
        the ::create() and ::open() methods which are invoked while LOCK_open
        mutex is being held by mysqld. As a result, no other client sessions
        can open tables while Federated is attempting to open a connection.
        Long DNS lookup times would stall mysqld's operation and a rogue
        connection string which connects to a remote server which simply
        stalls during handshake can stall mysqld for a much longer period of
        time.
        This patch moves the opening of the connection much later, when the
        federated actually issues queries, by which time the LOCK_open mutex is
        no longer being held.
      fbcd70a4
    • gshchepa/uchum@gleb.loc's avatar
      Merge gleb.loc:/home/uchum/work/bk/4.1-opt · 2c9eb163
      gshchepa/uchum@gleb.loc authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      2c9eb163
    • anozdrin/alik@ibm.'s avatar
      Patch inspired by BUG#10491: Server returns data as charset · 9f8593e8
      anozdrin/alik@ibm. authored
      binary SHOW CREATE TABLE or SELECT FROM I_S.
      
      The problem is that mysqldump generates incorrect dump for a table
      with non-ASCII column name if the mysqldump's character set is
      ASCII.
      
      The fix is to:
        1. Switch character_set_client for the mysqldump's connection
        to binary before issuing SHOW CREATE TABLE statement in order
        to avoid conversion.
        
        2. Dump switch character_set_client statements to UTF8 and back
        for CREATE TABLE statement.
      9f8593e8
    • anozdrin/alik@ibm.'s avatar
      Allow mysql.proc to have extra (unknown) fields. · 20e7e987
      anozdrin/alik@ibm. authored
      This allows 5.0 to work with 5.1 databases.
      20e7e987