1. 02 Aug, 2007 6 commits
    • unknown's avatar
      Makefile.am: · e6cf3535
      unknown authored
        Add CMakeLists.txt to source distribution
      CMakeLists.txt:
        Added missing '${MYSQLD_EXE_SUFFIX}' to "mysqld" targets new in 5.1
        Manual merge from 5.0 (bug#30118)
      CMakeLists.txt, mysqlbinlog.cc, lib_sql.cc:
        No need to test on USING_CMAKE, it is the only Windows build
      
      
      client/mysqlbinlog.cc:
        No need to test on USING_CMAKE, it is the only Windows build
      libmysqld/CMakeLists.txt:
        No need to test on USING_CMAKE, it is the only Windows build
      libmysqld/lib_sql.cc:
        No need to test on USING_CMAKE, it is the only Windows build
      libmysqld/Makefile.am:
        Add CMakeLists.txt to source distribution
      libmysqld/examples/Makefile.am:
        Add CMakeLists.txt to source distribution
      sql/CMakeLists.txt:
        Added missing '${MYSQLD_EXE_SUFFIX}' to "mysqld" targets new in 5.1
      client/CMakeLists.txt:
        Manual merge from 5.0 (bug#30118)
      libmysql/CMakeLists.txt:
        Manual merge from 5.0 (bug#30118)
      mysys/CMakeLists.txt:
        Manual merge from 5.0 (bug#30118)
      zlib/CMakeLists.txt:
        Manual merge from 5.0 (bug#30118)
      e6cf3535
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/cmake-tls/mysql-5.0-build · 18b1828e
      unknown authored
      into  mysql.com:/home/kent/bk/cmake-tls/mysql-5.1-build
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~13:
        Auto merged
      BitKeeper/deleted/.del-CMakeLists.txt~14:
        Auto merged
      BitKeeper/deleted/.del-CMakeLists.txt~3:
        Auto merged
      BitKeeper/deleted/.del-CMakeLists.txt~8:
        Auto merged
      BitKeeper/deleted/.del-CMakeLists.txt~9:
        Auto merged
      scripts/make_win_bin_dist:
        SCCS merged
      18b1828e
    • unknown's avatar
      CMakeLists.txt (several), make_win_bin_dist: · 7bd93758
      unknown authored
        Aligned client library build and use with the Unix version when it
        comes to what source to include directly in the builds, and what
        libraries to link with (bug#30118).
      
        Also reviewed, corrected and made more clear when static or dynamic
        Thread Local Storage is to be used. Some code duplication was removed,
        and some redundant library usage were removed, reducing the risk of
        incorrect TLS usage.
      
      
      client/CMakeLists.txt:
        - Removed code duplication by moving build of "mysqlclient" to
          the "libmysql" directory
        - Link clients with the new "mysqlclient_notls", to protect for
          the case the clients use more than the client API, and access
          thread data directly.
        - Synced explicit target addition of sources with Unix.
      dbug/CMakeLists.txt:
        No need to set CXX flags, no C++ code
      libmysql/CMakeLists.txt:
        - Aligned more with Unix version when it comes to included source files
        - Build both DLL and static library in this directory
        - Produce separe static TLS version of the static client library, for
           use when building clients in this build that might access TLS
           storage directly.
      mysys/CMakeLists.txt:
        We only have to build the static TLS version, as no clients are
        linking directly with the "mysys" library.
      scripts/make_win_bin_dist:
        Ajusted paths to new "mysqlclient.lib" location in source tree
      sql/CMakeLists.txt:
        Removed duplicate "ha_blackhole.cc" in file listing
        Removed explicit link to "dbug.lib" not needed
        Link with the static TLS "mysqlclient_notls"
      tests/CMakeLists.txt:
        Removed explicit link to "dbug", "mysys", "yassl", "taocrypt" and
        "zlib" not needed.
        Added explicit source addition "../mysys/my_memmem.c".
        No need for setting CXX flags, no C++ code.
        Use the static TLS "mysqlclient_notls" for linkage.
      zlib/CMakeLists.txt:
        No need for a dynamic TLS version of this library, no access to thread
        storage is done from it. Also no need to define MYSQL_CLIENT, not used,
        or __WIN32__ that is handled by the library header without this define.
      7bd93758
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 348114d7
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      348114d7
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · e2bf11a3
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      sql/sql_parse.cc:
        Auto merged
      e2bf11a3
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · 1f287084
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      1f287084
  2. 01 Aug, 2007 7 commits
    • unknown's avatar
      Fix a valgrind warning. For some reason it never popped up before. · 80584169
      unknown authored
      
      sql/sql_class.cc:
        Fix a valgrind warning (row_count_func is used before it was initialized
        in SQLCOM_CALL)
      80584169
    • unknown's avatar
      Merge trift2.:/MySQL/M51/funcs2-5.1 · f5da1a75
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      f5da1a75
    • unknown's avatar
      Fix a bad BitKeeper dependency structure for the "funcs_2" suite: · d3ef276d
      unknown authored
      The files below "mysql-test/suite/funcs_2" in version 5.1
      did not depend on the equivalent ones in 5.0,
      probably because they had been checked in independent of each other
      in both versions.
      
      Foreach file F in the suite that has a "deleted" counterpart D, use
          bk rm $F
          bk mv $D $F
          bk edit $F
      to get those files into the 5.1 suite that (for BK) depend on 5.0.
      
      There is only one file whose contents differs between 5.0 and 5.1,
      restore its current 5.1 contents:
         mysql-test/suite/funcs_2/r/ndb_charset.result
      
      
      BitKeeper/deleted/.del-charset_master.test~3ac6827798431a7:
        Delete: mysql-test/suite/funcs_2/charset/charset_master.test
      mysql-test/suite/funcs_2/charset/charset_master.test:
        Rename: BitKeeper/deleted/.del-charset_master.test -> mysql-test/suite/funcs_2/charset/charset_master.test
      BitKeeper/deleted/.del-charset_utf8.txt~c8409ddc3d216d4:
        Delete: mysql-test/suite/funcs_2/data/charset_utf8.txt
      BitKeeper/deleted/.del-check_charset.inc~1328722ebe51ab2b:
        Delete: mysql-test/suite/funcs_2/include/check_charset.inc
      mysql-test/suite/funcs_2/data/charset_utf8.txt:
        Rename: BitKeeper/deleted/.del-charset_utf8.txt -> mysql-test/suite/funcs_2/data/charset_utf8.txt
      mysql-test/suite/funcs_2/include/check_charset.inc:
        Rename: BitKeeper/deleted/.del-check_charset.inc -> mysql-test/suite/funcs_2/include/check_charset.inc
      BitKeeper/deleted/.del-check_charset_ucs2.inc~fbcdbb34f38ce9f1:
        Delete: mysql-test/suite/funcs_2/include/check_charset_ucs2.inc
      BitKeeper/deleted/.del-check_charset_utf8.inc~703a0b77d86f514e:
        Delete: mysql-test/suite/funcs_2/include/check_charset_utf8.inc
      BitKeeper/deleted/.del-gen_charset_utf8.pl~ff00332572f0f0b6:
        Delete: mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl
      mysql-test/suite/funcs_2/include/check_charset_ucs2.inc:
        Rename: BitKeeper/deleted/.del-check_charset_ucs2.inc -> mysql-test/suite/funcs_2/include/check_charset_ucs2.inc
      mysql-test/suite/funcs_2/include/check_charset_utf8.inc:
        Rename: BitKeeper/deleted/.del-check_charset_utf8.inc -> mysql-test/suite/funcs_2/include/check_charset_utf8.inc
      BitKeeper/deleted/.del-innodb_charset.result~5a9b45c455263e16:
        Delete: mysql-test/suite/funcs_2/r/innodb_charset.result
      BitKeeper/deleted/.del-memory_charset.result~3e27ebf0471b3472:
        Delete: mysql-test/suite/funcs_2/r/memory_charset.result
      mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl:
        Rename: BitKeeper/deleted/.del-gen_charset_utf8.pl -> mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl
      mysql-test/suite/funcs_2/r/innodb_charset.result:
        Rename: BitKeeper/deleted/.del-innodb_charset.result -> mysql-test/suite/funcs_2/r/innodb_charset.result
      BitKeeper/deleted/.del-myisam_charset.result~e86d46123a579771:
        Delete: mysql-test/suite/funcs_2/r/myisam_charset.result
      BitKeeper/deleted/.del-ndb_charset.result~37be292ee7801689:
        Delete: mysql-test/suite/funcs_2/r/ndb_charset.result
      mysql-test/suite/funcs_2/r/memory_charset.result:
        Rename: BitKeeper/deleted/.del-memory_charset.result -> mysql-test/suite/funcs_2/r/memory_charset.result
      mysql-test/suite/funcs_2/r/myisam_charset.result:
        Rename: BitKeeper/deleted/.del-myisam_charset.result -> mysql-test/suite/funcs_2/r/myisam_charset.result
      BitKeeper/deleted/.del-innodb_charset.test~4555b7e4a5caa39:
        Delete: mysql-test/suite/funcs_2/t/innodb_charset.test
      BitKeeper/deleted/.del-memory_charset.test~4f055ebb453f58fd:
        Delete: mysql-test/suite/funcs_2/t/memory_charset.test
      BitKeeper/deleted/.del-myisam_charset.test~f859c5b56700de58:
        Delete: mysql-test/suite/funcs_2/t/myisam_charset.test
      mysql-test/suite/funcs_2/t/innodb_charset.test:
        Rename: BitKeeper/deleted/.del-innodb_charset.test -> mysql-test/suite/funcs_2/t/innodb_charset.test
      mysql-test/suite/funcs_2/t/memory_charset.test:
        Rename: BitKeeper/deleted/.del-memory_charset.test -> mysql-test/suite/funcs_2/t/memory_charset.test
      mysql-test/suite/funcs_2/t/myisam_charset.test:
        Rename: BitKeeper/deleted/.del-myisam_charset.test -> mysql-test/suite/funcs_2/t/myisam_charset.test
      BitKeeper/deleted/.del-ndb_charset.test~354cbaeb1bc2f75d:
        Delete: mysql-test/suite/funcs_2/t/ndb_charset.test
      BitKeeper/deleted/.del-readme.txt~e8399f1a3f34d433:
        Delete: mysql-test/suite/funcs_2/readme.txt
      mysql-test/suite/funcs_2/readme.txt:
        Rename: BitKeeper/deleted/.del-readme.txt~2 -> mysql-test/suite/funcs_2/readme.txt
      mysql-test/suite/funcs_2/t/ndb_charset.test:
        Rename: BitKeeper/deleted/.del-ndb_charset.test -> mysql-test/suite/funcs_2/t/ndb_charset.test
      mysql-test/suite/funcs_2/r/ndb_charset.result:
        Fix a bad BitKeeper dependency structure for the "funcs_2" suite:
        
        Restore the 5.1 contents into the 5.0-dependent file.
      d3ef276d
    • unknown's avatar
      Fix an unstable test. · 5c682a56
      unknown authored
      
      mysql-test/r/log_tables.result:
        Update results.
      mysql-test/t/log_tables.test:
        Silence a race condition: TRUNCATE code issues mysql_frm_type without
        a metadata lock, and finds no table if hits the moment when
        ALTER is swapping two tables.
      5c682a56
    • unknown's avatar
      Merge bodhi.(none):/opt/local/work/mysql-5.0-runtime · ea978293
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/include/mix1.inc:
        Manual merge.
      mysql-test/r/innodb_mysql.result:
        Manual merge.
      ea978293
    • unknown's avatar
      Fix an unstable test. It was reliant on the current time. · ce7cbe73
      unknown authored
      
      mysql-test/r/func_time.result:
        Update results (use fixed datetime values instead of NOW()).
      mysql-test/t/func_time.test:
        Use fixed datetime values instead of NOW(): the test would have a sporadic
        failure when current day changed between two consequtive calls to
        NOW(). The test actually tests FROM_DAYS/TO_DAYS functions, 
        so use of NOW() is not necessary.
      ce7cbe73
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · 190cc0db
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      190cc0db
  3. 31 Jul, 2007 6 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 3f0bf2e8
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      mysql-test/include/mix1.inc:
        Manual merge.
      mysql-test/r/innodb_mysql.result:
        Manual merge.
      3f0bf2e8
    • unknown's avatar
      Post-merge fixes. · f9c94f97
      unknown authored
      
      sql/sql_base.cc:
        Fix an incorrect manual merge.
      f9c94f97
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · c8c5323b
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.0-runtime
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Manual merge.
      mysql-test/t/innodb_mysql.test:
        Manual merge.
      sql/sql_table.cc:
        Manual merge.
      c8c5323b
    • unknown's avatar
      Merge bodhi.(none):/opt/local/work/mysql-5.0-runtime · cbcb6988
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      mysql-test/include/mix1.inc:
        Manual merge.
      mysql-test/r/innodb_mysql.result:
        Manual merge.
      sql/handler.h:
        Manual merge.
      sql/lock.cc:
        Manual merge.
      sql/opt_range.cc:
        Manual merge.
      sql/sql_base.cc:
        Manual merge.
      sql/sql_table.cc:
        Manual merge.
      cbcb6988
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 29372b5d
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-cleanup
      
      
      sql/log.cc:
        Auto merged
      29372b5d
    • unknown's avatar
      11a492b7
  4. 30 Jul, 2007 15 commits
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/config_h/mysql-5.0-build · 00567933
      unknown authored
      into  mysql.com:/home/kent/bk/config_h/mysql-5.1-build
      
      
      config/ac-macros/misc.m4:
        Auto merged
      configure.in:
        Auto merged
      include/Makefile.am:
        Auto merged
      mysql-test/std_data/cacert.pem:
        Auto merged
      mysql-test/std_data/client-cert.pem:
        Auto merged
      mysql-test/std_data/client-key.pem:
        Auto merged
      mysql-test/std_data/server-cert.pem:
        Auto merged
      mysql-test/std_data/server-key.pem:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      BitKeeper/deleted/.del-Makefile.am~de166d6fcac3b9b6:
        Auto merged
      00567933
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0-build · afbfdf29
      unknown authored
      into  mysql.com:/home/kent/bk/config_h/mysql-5.0-build
      
      afbfdf29
    • unknown's avatar
      Generate "config.h" directly into the "include" directory, later copied · c473053b
      unknown authored
      to "my_config.h". Not to pollute the top directory, and to get more control
      over what is included. Made the include path for "libedit" pick up its own
      "config.h" first.
      
      
      config/ac-macros/misc.m4:
        aclocal in automake 1.8 can't handle AC_REQUIRE on
        a user macro defined in the same included file.
      cmd-line-utils/libedit/Makefile.am:
        Changed include path so that current directory is taken first, as there
        is a "config.h" there with the same name as the one in top "include".
      configure.in:
        Generate "config.h" directly into "include", don't pollute top directory
      include/Makefile.am:
        Copy "config.h" from current directory to "my_config.h", added note in
        the make file why there are two identical files with different name.
      scripts/make_binary_distribution.sh:
        Removed copy of "config.h" from top directory, it is in "include" in a
        source tree.
      c473053b
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/config_h/mysql-4.1-build · f057136f
      unknown authored
      into  mysql.com:/home/kent/bk/config_h/mysql-5.0-build
      
      
      mysys/my_pthread.c:
        Auto merged
      f057136f
    • unknown's avatar
      my_pthread.c: · b361c3b3
      unknown authored
        Backport of correction for Mac OS X build problem, global variable not
        initiated is "common" and can't be used in shared libraries, unless
        special flags are used (bug#26218)
      
      
      mysys/my_pthread.c:
        Backport of correction for Mac OS X build problem, global variable not
        initiated is "common" and can't be used in shared libraries, unless
        special flags are used (bug#26218)
      b361c3b3
    • unknown's avatar
      Merge obarnir@bk-internal.mysql.com:/home/bk/mysql-5.1-build · fa53e375
      unknown authored
      into  linux.site:/home/omer/source/jrg51
      
      
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/field.cc:
        Auto merged
      fa53e375
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 95df5baa
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      95df5baa
    • unknown's avatar
      handler::ha_write_row_no_binlog() hack removed, · 80df2b55
      unknown authored
      existing table->no_replicate code is used instead
      
      80df2b55
    • unknown's avatar
      Merge linux.site:/home/omer/source/bld50_0724 · eef70438
      unknown authored
      into  linux.site:/home/omer/source/jrg51
      
      
      mysql-test/suite/funcs_1/datadict/datadict_master.inc:
        Auto merged
      mysql-test/suite/funcs_1/r/innodb__datadict.result:
        Auto merged
      mysql-test/suite/funcs_1/r/innodb_trig_0102.result:
        Auto merged
      mysql-test/suite/funcs_1/r/innodb_trig_08.result:
        Auto merged
      mysql-test/suite/funcs_1/r/innodb_trig_09.result:
        Auto merged
      mysql-test/suite/funcs_1/r/innodb_views.result:
        Auto merged
      mysql-test/suite/funcs_1/r/memory__datadict.result:
        Auto merged
      mysql-test/suite/funcs_1/r/memory_trig_0102.result:
        Auto merged
      mysql-test/suite/funcs_1/r/memory_trig_08.result:
        Auto merged
      mysql-test/suite/funcs_1/r/memory_trig_09.result:
        Auto merged
      mysql-test/suite/funcs_1/r/memory_views.result:
        Auto merged
      mysql-test/suite/funcs_1/r/myisam__datadict.result:
        Auto merged
      mysql-test/suite/funcs_1/r/myisam_trig_0102.result:
        Auto merged
      mysql-test/suite/funcs_1/r/myisam_trig_08.result:
        Auto merged
      mysql-test/suite/funcs_1/r/myisam_trig_09.result:
        Auto merged
      mysql-test/suite/funcs_1/triggers/triggers_0102.inc:
        Auto merged
      mysql-test/suite/funcs_1/views/func_view.inc:
        Auto merged
      mysql-test/suite/funcs_1/r/innodb_func_view.result:
        manual merge
      mysql-test/suite/funcs_1/r/memory_func_view.result:
        manual merge
      mysql-test/suite/funcs_1/r/myisam_func_view.result:
        manual merge
      mysql-test/suite/funcs_1/r/myisam_views.result:
        manual merge
      eef70438
    • unknown's avatar
      Disable IM tests. · 5d16675d
      unknown authored
      5d16675d
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 61ed019f
      unknown authored
      into  mysql.com:/home/kent/bk/tmp3/mysql-5.0-build
      
      61ed019f
    • unknown's avatar
      Fix a compilation warning. · 074cc0ff
      unknown authored
      
      sql/handler.h:
        Fix a warning.
      074cc0ff
    • unknown's avatar
      Fix merge: update result files. · 9b2d18ba
      unknown authored
      
      mysql-test/r/ddl_i18n_koi8r.result:
        Update result file.
      mysql-test/r/ddl_i18n_utf8.result:
        Update result file.
      9b2d18ba
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · a00b7b2e
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      a00b7b2e
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · ffd2af2a
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      ffd2af2a
  5. 29 Jul, 2007 3 commits
  6. 28 Jul, 2007 1 commit
  7. 27 Jul, 2007 2 commits