1. 09 Apr, 2006 1 commit
  2. 07 Apr, 2006 2 commits
    • unknown's avatar
      Fixed BUG#15758: "Holding adaptive search latch in · 372901ad
      unknown authored
       innobase_query_caching_of_table_permitted()".
       Applied the patch due to Heikki Tuuri.
       Also removed superfluous #ifdefs.
      
      
      sql/sql_cache.cc:
        Applied the patch due to Heikki Tuuri.
         Query_cache::store_query(): Make InnoDB to release the adaptive
         hash index latch before MySQL acquires the query cache mutex.
      sql/sql_class.cc:
        Removing superfluous #ifdefs (suggested by Sanja, also discussed with Serg).
      sql/sql_cursor.cc:
        Removing superfluous #ifdefs (suggested by Sanja, also discussed with Serg).
      372901ad
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 040fc2d3
      unknown authored
      into mysql.com:C:/cygwin/home/mysqldev/my/mysql-5.1-new
      
      
      040fc2d3
  3. 06 Apr, 2006 25 commits
    • unknown's avatar
      Implement --warning-mode in SETUP.sh. The value of the · bcb81887
      unknown authored
      argument can be either "pedantic" or "old" (actually, or anything
      else). In case of "pedantic" mode, use -ansi -pedantic compilation
      flags. Fix the build to compile in pedantic mode. (Version 3 of
      the patch, with after-review fixes)
      
      
      BUILD/SETUP.sh:
        Implement --warning-mode in SETUP.sh. The value of the
        argument can be either "pedantic" or "old" (actually, or anything
        else). In case of "pedantic" mode, use -ansi -pedantic compilation
        flags.
      BUILD/compile-pentium-debug-max-no-embedded:
        Rename base_max_configs to base_no_embedded_configs
      BUILD/compile-pentium-debug-max:
        Use double quotes around $@
      BUILD/compile-pentium-valgrind-max:
        Pass command line arguments to SETUP.sh. Allows calling
        compile-pentium-valgrind-max --warning-mode=pedantic
      include/my_global.h:
        Remove an unnecessary ifdef: -pedantic hides the system-wide
        definition of ulong on Linux. In case there is no -pedantic, 
        the system-wide definition is available and HAVE_ULONG is defined
        by configure.
      bcb81887
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1-new · c992a1f7
      unknown authored
      into mysql.com:/home/psergey/mysql-5.1-bug18558-pnd
      
      
      sql/opt_range.cc:
        Auto merged
      c992a1f7
    • unknown's avatar
      BUG#18558 "Partition pruning results are incorrect for certain class of WHERE clauses" : · 4d1666f6
      unknown authored
      * Produce right results for conditions that were transformed to "(partitioning_range) AND
        (list_of_subpartitioning_ranges)": make each partition id set iterator auto-reset itself
        after it has returned all partition ids in the sequence 
      * Fix "Range mapping" and "Range mapping" partitioning interval analysis functions to 
        correctly deal with NULL values. 
      
      
      mysql-test/r/partition_pruning.result:
        Testcase for BUG#18558
      mysql-test/t/partition_pruning.test:
        Testcase for BUG#18558
      sql/opt_range.cc:
        BUG#18558: Move partition set iterator initialization to sql_partition.cc, comment fixes
      sql/partition_info.h:
        BUG#18558: Make each partition set iterator auto-reset itself after it has returned all 
        partition ids in the set it enumerates.
      sql/sql_partition.cc:
        BUG#18558: 
        - Make each partition set iterator auto-reset itself after it has returned all 
          partition ids in the set it enumerates. 
        - Fix partition interval analysis to correctly handle intervals with one or both
          NULL bounds.
      sql/sql_partition.h:
        BUG#18558: 
         - Make each partition set iterator auto-reset itself after it has returned all 
           partition ids in the set it enumerates. 
         - Rename PARTITION_ITERATOR::has_null_value to ret_null_part
      4d1666f6
    • unknown's avatar
      2254c05e
    • unknown's avatar
      Merge april.(none):/home/svoj/devel/mysql/BUG14945/mysql-5.0 · cc0e156e
      unknown authored
      into  april.(none):/home/svoj/devel/mysql/BUG14945/mysql-5.1-new
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_delete.cc:
        Manual merge
      cc0e156e
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 6de776f7
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      6de776f7
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · b3dad934
      unknown authored
      into  april.(none):/home/svoj/devel/mysql/BUG14945/mysql-5.0
      
      
      b3dad934
    • unknown's avatar
      Fix for bug#14945 "Truncate table doesn't reset the auto_increment · ee3cf23b
      unknown authored
      counter".
      
      When TRUNCATE TABLE was called within an stored procedure the
      auto_increment counter was not reset to 0 even if straight
      TRUNCATE for this table did this.
      
      This fix makes TRUNCATE in stored procedures to be handled exactly
      in the same way as straight TRUNCATE. We achieve this by rolling
      back the fix for bug 8850, which is no longer needed since stored
      procedures don't require prelocked mode anymore (and TRUNCATE is
      not allowed in stored functions or triggers).
      
      
      mysql-test/r/sp.result:
        Test case for BUG#14945.
      mysql-test/t/sp.test:
        Test case for BUG#14945.
      sql/sql_delete.cc:
        Handle TRUNCATE in stored procedures exactly in the same way as straight
        TRUNCATE (i.e. without falling back to DELETE if possible). We achieve
        this by rolling back the fix for bug 8850, which is no longer relevant
        since stored procedures don't require prelocked mode anymore
        (and TRUNCATE is not allowed in stored functions or triggers).
      sql/sql_parse.cc:
        Handle TRUNCATE in stored procedures exactly in the same way as straight
        TRUNCATE (i.e. without falling back to DELETE if possible). We achieve
        this by rolling back the fix for bug 8850, which is no longer relevant
        since stored procedures don't require prelocked mode anymore
        (and TRUNCATE is not allowed in stored functions or triggers).
      ee3cf23b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 84c13fdf
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.1
      
      
      client/mysqltest.c:
        Auto merged
      include/config-win.h:
        Auto merged
      include/m_ctype.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      storage/csv/ha_tina.h:
        Auto merged
      strings/ctype-bin.c:
        Auto merged
      strings/ctype-euc_kr.c:
        Auto merged
      strings/ctype-gb2312.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      storage/csv/ha_tina.cc:
        SCCS merged
      84c13fdf
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 9a1d80e9
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0
      
      
      9a1d80e9
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · 9b208ed1
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      libmysql/libmysql.c:
        Auto merged
      sql-common/client.c:
        Auto merged
      9b208ed1
    • unknown's avatar
      Moving mysql_get_server_version() from libmysql.c to client.c, · a0f7e755
      unknown authored
      as it is now required by mysql_set_character_set()
      
      
      libmysql/libmysql.c:
        Removing mysql_get_server_version()
      sql-common/client.c:
        Adding mysql_get_server_version()
      a0f7e755
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · c86853e0
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      libmysql/libmysql.c:
        Auto merged
      sql-common/client.c:
        Auto merged
      c86853e0
    • unknown's avatar
      client.c: · f53c12c8
      unknown authored
        Bug#18830 incompatibility new libraries with old server
        Additional 5.0 fix:
        applying the same patch to client.c.
      
      
      sql-common/client.c:
        Bug#18830 incompatibility new libraries with old server
        Additional 5.0 fix:
        applying the same patch to client.c.
      f53c12c8
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · 4ec04797
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      libmysql/libmysql.c:
        Bug#18830 incompatibility new libraries with old server
        Mergeing from 4.1
      4ec04797
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.1/new · ee75eaa3
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.1/new-bug18831
      
      
      ee75eaa3
    • unknown's avatar
      BUG#18831 Valgrind: cond jmp on uninit during ndb_dd_dump test · 6470039e
      unknown authored
      don't know why this didn't generate a warning, but let's fix it too.
      
      
      storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        fix reversed memset
      6470039e
    • unknown's avatar
      BUG#18831 Valgrind: cond jmp on uninit during ndb_dd_dump test · c678a72e
      unknown authored
      
      storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        fix memset call
        initialize LF_UndoFreeWords(Hi|Lo)
      c678a72e
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · 200069a3
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      strings/ctype-extra.c:
        Auto merged
      200069a3
    • unknown's avatar
      libmysql.c: · 00cfd1a7
      unknown authored
        Bug#18830: incompatibility new libraries with old server
        Don't execute SET NAMES with pre-4.1 server.
      
      
      libmysql/libmysql.c:
        Bug#18830: incompatibility new libraries with old server
        Don't execute SET NAMES with pre-4.1 server.
      00cfd1a7
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · f1633f04
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      f1633f04
    • unknown's avatar
      This problem has already been fixed by one of the previous changes. · 5475703b
      unknown authored
      Adding test case to cover queries which worked incorrectly earlier:
      Bug#18321: Can't store EuroSign with latin1_german1_ci and latin1_general_ci
      
      
      mysql-test/r/ctype_latin1.result:
        Adding test case for Bug#18321: Can't store EuroSign with latin1_german1_ci and latin1_general_ci
      mysql-test/t/ctype_latin1.test:
        Adding test case for Bug#18321: Can't store EuroSign with latin1_german1_ci and latin1_general_ci
      5475703b
    • unknown's avatar
      ctype-extra.c: · b17b89fb
      unknown authored
        Using local.
      
      
      strings/ctype-extra.c:
        Using local.
      b17b89fb
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · 8dbc6b1f
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      strings/conf_to_src.c:
        Auto merged
      8dbc6b1f
    • unknown's avatar
      conf_to_src.c: · fafa4c5a
      unknown authored
        Backporting a 5.0 change:
        MAX_BUF was too small for Index.xml
        Changeing MAX_BUF and adding assert to easier
        catch the same problem in the future.
      ctype-extra.c:
        Regenerating ctype-extra.c with the fixed conf_to_src.
      
      
      strings/ctype-extra.c:
        Regenerating ctype-extra.c with the fixed conf_to_src.
      strings/conf_to_src.c:
        Backporting a 5.0 change:
        MAX_BUF was too small for Index.xml
        Changeing MAX_BUF and adding assert to easier
        catch the same problem in the future.
      fafa4c5a
  4. 05 Apr, 2006 12 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · cabe2859
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      cabe2859
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-5.0-0 · ef430928
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.1-0
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      ef430928
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · fb559d43
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      strings/ctype-extra.c:
        Auto merged
      fb559d43
    • unknown's avatar
      Manually merged · 7042df62
      unknown authored
      7042df62
    • unknown's avatar
      ctype-extra.c: · b42462c5
      unknown authored
        Recreating ctype-extra.c with additional 5.1
        charset, and with additional missing 5.0 charset
        due to bug with too small buffer MAX_BUF.
      
      
      strings/ctype-extra.c:
        Recreating ctype-extra.c with additional 5.1
        charset, and with additional missing 5.0 charset
        due to bug with too small buffer MAX_BUF.
      b42462c5
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 509cb91e
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      509cb91e
    • unknown's avatar
      conf_to_src.c: · 6ef757e4
      unknown authored
        Buffer was too small to load Index.xml.
        So some charsets were not gerenrated.
        Making the buffer bigger, and adding an DBUG_ASSERT,
        to easier catch the problem in the future.
      ctype-extra.c:
        Additional charsets were generated.
      
      
      strings/ctype-extra.c:
        Additional charsets were generated.
      strings/conf_to_src.c:
        Buffer was too small to load Index.xml.
        So some charsets were not gerenrated.
        Making the buffer bigger, and adding an DBUG_ASSERT,
        to easier catch the problem in the future.
      6ef757e4
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · f3a4f0af
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/share/charsets/Index.xml:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      f3a4f0af
    • unknown's avatar
      Remove dead code from BUILD/ scripts: $debug_extra_warnings is · d9935084
      unknown authored
      never defined.
      It was used at some point to add -Wuninitialized to debug flags, 
      but not any more. If there is still need to add -Wunitialized,
      it can be added directly to $global_warnings.
      
      
      BUILD/compile-amd64-debug-max-no-ndb:
        Remove a no-op.
      BUILD/compile-amd64-debug-max:
        Remove a no-op.
      BUILD/compile-darwin-mwcc:
        Remove a no-op.
      BUILD/compile-pentium-debug-max-no-embedded:
        Remove a no-op.
      BUILD/compile-pentium-debug-max-no-ndb:
        Remove a no-op.
      BUILD/compile-pentium-debug-max:
        Remove a no-op.
      BUILD/compile-pentium-debug-openssl:
        Remove a no-op.
      BUILD/compile-pentium-debug-yassl:
        Remove a no-op.
      BUILD/compile-pentium-debug:
        Remove a no-op.
      BUILD/compile-pentium-mysqlfs-debug:
        Remove a no-op.
      BUILD/compile-pentium-valgrind-max:
        Remove a no-op.
      BUILD/compile-pentium64-debug-max:
        Remove a no-op.
      BUILD/compile-pentium64-debug:
        Remove a no-op.
      BUILD/compile-pentium64-valgrind-max:
        Remove a no-op.
      BUILD/compile-ppc-debug-max-no-ndb:
        Remove a no-op.
      BUILD/compile-ppc-debug-max:
        Remove a no-op.
      BUILD/compile-ppc-debug:
        Remove a no-op.
      d9935084
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new · e0985d3d
      unknown authored
      into  mysql.com:/home/bk/b18436-mysql-5.1-new
      
      
      e0985d3d
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new · fbab1349
      unknown authored
      into  mysql.com:/home/bk/b18436-mysql-5.1-new
      
      
      fbab1349
    • unknown's avatar
      Remove dead code from BUILD/ scripts. · fb4bd32a
      unknown authored
      
      BUILD/SETUP.sh:
        Remove dead options.
      BUILD/compile-amd64-debug-max-no-ndb:
        Remove dead options.
      BUILD/compile-amd64-debug-max:
        Remove dead options.
      BUILD/compile-amd64-max:
        Remove dead options.
      BUILD/compile-darwin-mwcc:
        Remove dead options.
      BUILD/compile-pentium-debug-max-no-embedded:
        Remove dead options.
      BUILD/compile-pentium-debug-max-no-ndb:
        Remove dead options.
      BUILD/compile-pentium-debug-max:
        Remove dead options.
      BUILD/compile-pentium-icc-valgrind-max:
        Remove dead options.
      BUILD/compile-pentium-max:
        Remove dead options.
      BUILD/compile-pentium-valgrind-max:
        Remove dead options. There is no ISAM any more.
      BUILD/compile-pentium64-debug-max:
        Remove dead options.
      BUILD/compile-pentium64-valgrind-max:
        Remove dead options. There is no ISAM any more.
      BUILD/compile-ppc-debug-max-no-ndb:
        Remove dead options.
      BUILD/compile-ppc-debug-max:
        Remove dead options.
      BUILD/compile-ppc-max:
        Remove dead options.
      fb4bd32a