1. 15 Jun, 2007 1 commit
    • unknown's avatar
      Embedded Server doesn't build on Windows. · 29041471
      unknown authored
      - Add build configuration parameter EMBEDDED_ONLY which will configure 
      the VS solution to produce only mysql embedded binary.
      - Make necessary updates to successfully compile solution.
      
      
      CMakeLists.txt:
        Embedded Server doesn't build on Windows.
        - Remove leading space from various definitions.
        - Remove optimizations from RelWithDebInfo configuration for debugging.
        - Conditionally add the necessary build directories based on 
        EMBEDDED_ONLY flag.
      BitKeeper/etc/ignore:
        Embedded Server doesn't build on Windows.
        - Ignore CMake's default configuration output directories.
        - Ignore autogenerated cmake_dummy.c file.
      libmysql/client_settings.h:
        Embedded Server doesn't build on Windows.
        - Build fixup
      libmysqld/CMakeLists.txt:
        Embedded Server doesn't build on Windows.
        - Update for recent changes.
      libmysqld/libmysqld.def:
        Embedded Server doesn't build on Windows.
        - Export necessary methods.
      libmysqld/examples/CMakeLists.txt:
        Embedded Server doesn't build on Windows.
        - Updated include directories.
        - test_libmysqld fixup.
        - Added mysqltest_embedded and mysql_client_test_embedded exes needed for
        testing.
      sql/mysqld.cc:
        Embedded Server doesn't build on Windows.
        - Build fixup.
      sql/sql_binlog.cc:
        Embedded Server doesn't build on Windows.
        - Build fixup.
      sql-common/client.c:
        Embedded Server doesn't build on Windows.
        - Build fixup.
      storage/federated/CMakeLists.txt:
        Embedded Server doesn't build on Windows.
        - Define USE_TLS for embedded only builds.
      storage/heap/CMakeLists.txt:
        Embedded Server doesn't build on Windows.
        - Define USE_TLS for embedded only builds.
      storage/innobase/CMakeLists.txt:
        Embedded Server doesn't build on Windows.
        - Define USE_TLS for embedded only builds.
      storage/myisam/CMakeLists.txt:
        Embedded Server doesn't build on Windows.
        - Define USE_TLS for embedded only builds.
      storage/myisam/ha_myisam.cc:
        Embedded Server doesn't build on Windows.
        - Define USE_TLS for embedded only builds.
      storage/myisammrg/CMakeLists.txt:
        Embedded Server doesn't build on Windows.
        - Define USE_TLS for embedded only builds.
      win/configure.js:
        Embedded Server doesn't build on Windows.
        - Add EMBEDDED_ONLY build configuration.
      29041471
  2. 13 Jun, 2007 12 commits
    • unknown's avatar
      Bug #28897 UUID() returns non-unique values when query cache is enabled · 442adbb2
      unknown authored
      Removed the ability to cache queries with UUID() and UUID_SHORT().
      
      
      sql/item_create.cc:
          Removed the ability to cache queries with UUID() and UUID_SHORT().
      442adbb2
    • unknown's avatar
      Merge damien-katzs-computer.local:/Users/dkatz/mysql50 · 8c617a3b
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/mysql51
      
      
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      8c617a3b
    • unknown's avatar
      Merge damien-katzs-computer.local:/Users/dkatz/mysql50 · da4e864c
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/50_win
      
      
      da4e864c
    • unknown's avatar
      Bug #28897 UUID() returns non-unique values when query cache is enabled · 40ebf3b7
      unknown authored
      Removed the ability to cache queries containing "UUID()".
      
      
      mysql-test/r/query_cache.result:
        Added test to ensure "select UUID(), a from t1" is different each time.
      mysql-test/t/query_cache.test:
        Added test to ensure "select UUID(), a from t1" is different each time.
      sql/item_create.cc:
        Removed the ability to cache queries with UUID().
      40ebf3b7
    • unknown's avatar
      rpl_known_bugs_detection.test: · 57cac5df
      unknown authored
        Updated to use new tool(s):Missed on call, resubmitting
      
      
      mysql-test/t/rpl_known_bugs_detection.test:
        Updated to use new tool(s):Missed on call, resubmitting
      57cac5df
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 93d01a65
      unknown authored
      into  mysql.com:/data2/mysql-5.1-maint
      
      
      93d01a65
    • unknown's avatar
      rpl_known_bugs_detection.test: · bef96665
      unknown authored
        Updated to use new tool(s)
      
      
      mysql-test/t/rpl_known_bugs_detection.test:
        Updated to use new tool(s)
      bef96665
    • unknown's avatar
      after-merge fix. · 25a7effa
      unknown authored
      
      mysql-test/r/func_in.result:
        After-merge fix.
          - result adjusted.
      25a7effa
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · dc6c3b31
      unknown authored
      into  mysql.com:/home/ram/work/b28748/b28748.5.0
      
      
      dc6c3b31
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b28748/b28748.5.0 · 44d25ca2
      unknown authored
      into  mysql.com:/home/ram/work/b28748/b28748.5.1
      
      
      mysql-test/r/func_in.result:
        Auto merged
      mysql-test/t/func_in.test:
        Auto merged
      44d25ca2
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · c148eb94
      unknown authored
      into  mysql.com:/data2/mysql-5.1-maint
      
      
      c148eb94
    • unknown's avatar
      Updated patch for Bug#28497 based off of Magnus's review · b55468d7
      unknown authored
      
      mysql-test/include/wait_for_slave_io_to_stop.inc:
        Updated previous commit to include Magnus's change request from review. In addition, I moved it from the mysql-5.1 to mysql-5.1-maint clone. We now have 3 new replications tools and one tool that has been refactored. 1) include/wait_for_slave_to_stop.inc replaces the old mysqltest.c wait_for_slave_to_stop. NEW: 2) include/wait_for_slave_sql_to_stop.inc is for when you are expecting the slave to get an SQL error and waiting for the SQL Thread to stop. 3) include/wait_for_slave_io_to_stop.inc is used for test that you expect sometype of IO error and the IO Thread to stop. 4) include/wait_for_slave_to_start.inc for waiting for the slave to completely start before moving forward in the test. All 4 tests have a built in loop that will stop the test if any of the tools take too long.
      mysql-test/include/wait_for_slave_sql_to_stop.inc:
        Updated previous commit to include Magnus's change request from review. In addition, I moved it from the mysql-5.1 to mysql-5.1-maint clone. We now have 3 new replications tools and one tool that has been refactored. 1) include/wait_for_slave_to_stop.inc replaces the old mysqltest.c wait_for_slave_to_stop. NEW: 2) include/wait_for_slave_sql_to_stop.inc is for when you are expecting the slave to get an SQL error and waiting for the SQL Thread to stop. 3) include/wait_for_slave_io_to_stop.inc is used for test that you expect sometype of IO error and the IO Thread to stop. 4) include/wait_for_slave_to_start.inc for waiting for the slave to completely start before moving forward in the test. All 4 tests have a built in loop that will stop the test if any of the tools take too long.
      mysql-test/include/wait_for_slave_to_start.inc:
        Updated previous commit to include Magnus's change request from review. In addition, I moved it from the mysql-5.1 to mysql-5.1-maint clone. We now have 3 new replications tools and one tool that has been refactored. 1) include/wait_for_slave_to_stop.inc replaces the old mysqltest.c wait_for_slave_to_stop. NEW: 2) include/wait_for_slave_sql_to_stop.inc is for when you are expecting the slave to get an SQL error and waiting for the SQL Thread to stop. 3) include/wait_for_slave_io_to_stop.inc is used for test that you expect sometype of IO error and the IO Thread to stop. 4) include/wait_for_slave_to_start.inc for waiting for the slave to completely start before moving forward in the test. All 4 tests have a built in loop that will stop the test if any of the tools take too long.
      mysql-test/include/wait_for_slave_to_stop.inc:
        Updated previous commit to include Magnus's change request from review. In addition, I moved it from the mysql-5.1 to mysql-5.1-maint clone. We now have 3 new replications tools and one tool that has been refactored. 1) include/wait_for_slave_to_stop.inc replaces the old mysqltest.c wait_for_slave_to_stop. NEW: 2) include/wait_for_slave_sql_to_stop.inc is for when you are expecting the slave to get an SQL error and waiting for the SQL Thread to stop. 3) include/wait_for_slave_io_to_stop.inc is used for test that you expect sometype of IO error and the IO Thread to stop. 4) include/wait_for_slave_to_start.inc for waiting for the slave to completely start before moving forward in the test. All 4 tests have a built in loop that will stop the test if any of the tools take too long.
      mysql-test/t/rpl_critical_errors.test:
        Updated to use new tool(s)
      mysql-test/t/rpl_dual_pos_advance.test:
        Updated to use new tool(s)
      mysql-test/t/rpl_known_bugs_detection.test:
        Updated to use new tool(s)
      mysql-test/t/rpl_rotate_logs.test:
        Updated to use new tool(s)
      mysql-test/t/rpl_row_inexist_tbl.test:
        Updated to use new tool(s)
      mysql-test/extra/rpl_tests/rpl_extraSlave_Col.test:
        Updated to use new tool(s)
      mysql-test/extra/rpl_tests/rpl_loaddata.test:
        Updated to use new tool(s)
      mysql-test/extra/rpl_tests/rpl_row_tabledefs.test:
        Updated to use new tool(s)
      mysql-test/extra/rpl_tests/rpl_stm_000001.test:
        Updated to use new tool(s)
      mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test:
        Updated to use new tool(s)
      b55468d7
  3. 12 Jun, 2007 8 commits
  4. 11 Jun, 2007 3 commits
    • unknown's avatar
      Bug#28984: crasher on connect with out of range password length in \ · 46085513
      unknown authored
      	protocol
      
      Update for function moved to new file in 5.1.
      
      One could send a malformed packet that caused the server to SEGV.  In 
      recent versions of the password protocol, the client tells the server 
      what length the ciphertext is (almost always 20).  If that length was
      large enough to overflow a signed char, then the number would jump to 
      very large after being casted to unsigned int.
        
      Instead, cast the *passwd char to uchar.
      
      
      sql/sql_connect.cc:
        Update for function moved to new file in 5.1.
      46085513
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint-2 · 67b33c81
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
      
      
      sql/sql_parse.cc:
        Functions are moved to a new file in 5.1.
      67b33c81
    • unknown's avatar
      Fix for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long" · 1c4ab310
      unknown authored
      In create_tmp_table() don't set full table path as a table name. Other code assumes table names to not exceed NAME_LEN bytes.
      
      
      sql/sql_select.cc:
        In create_tmp_table() don't set full table path as a table name. Other code assumes table names to not exceed NAME_LEN bytes.
      mysql-test/r/long_tmpdir.result:
        Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long"
      mysql-test/t/long_tmpdir-master.opt:
        Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long"
      mysql-test/t/long_tmpdir-master.sh:
        Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long"
      mysql-test/t/long_tmpdir.test:
        Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long"
      1c4ab310
  5. 09 Jun, 2007 1 commit
    • unknown's avatar
      Fix for bug #28748: "Select" returning one value too few · 7a865683
      unknown authored
      Problem: we may get unexpected results comparing [u]longlong values as doubles.
      Fix: adjust the test to use integer comparators.
      Note: it's not a real fix, we have to implement some new comparators 
      to completely solve the original problem (see my comment in the bug report).
      
      
      mysql-test/r/func_in.result:
        Fix for bug #28748: "Select" returning one value too few
          - result adjusted.
      mysql-test/t/func_in.test:
        Fix for bug #28748: "Select" returning one value too few
          - test adjusted to use integer comparisons.
      7a865683
  6. 08 Jun, 2007 12 commits
  7. 07 Jun, 2007 3 commits