1. 05 Feb, 2005 1 commit
  2. 04 Feb, 2005 25 commits
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · b63fda51
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bug7816
      
      b63fda51
    • unknown's avatar
      A fix for Bug#6273 "building fails on link": we should not use · c03926d5
      unknown authored
      CLIENT_LIBS in mysql_config as CLIENT_LIBS point to builddir when
      we use the bundled zlib.
      
      
      acinclude.m4:
        Extend MYSQL_CHECK_ZLIB_WITH_COMPRESS m4 macro to substitute ZLIB_DEPS -
        this is a special version of ZLIB_LIBS to use in mysql_config
      configure.in:
        Remove NON_THREADED_CLIENT_LIBS which weren't really 
        NON_THREADED_CLIENT_LIBS and use NON_THREADED_LIBS instead.
        AC_SUBST NON_THREADED_LIBS and STATIC_NSS_FLAGS as they're now
        needed inside mysql_config.sh
      scripts/Makefile.am:
        Add STATIC_NSS_FLAGS, NON_THREADED_LIBS and ZLIB_DEPS to sed 
        substitution list.
      scripts/mysql_config.sh:
        We can't use CLIENT_LIBS as in case when we use the bundled zlib
        it has a reference to $(top_builddir)/zlib.
        libs and libs_r now need to be specified explicitly.
      zlib/Makefile.am:
        Install libz.la in case it's used by MySQL: this way we guarantee
        that paths printed by mysql_config are valid in all cases.
      c03926d5
    • unknown's avatar
      Backport of ChangeSet 1.1845 05/02/04 13:53:16 guilhem@mysql.com +1 -0 from 5.0. · 0c22eaa9
      unknown authored
      Proposal to fix this problem: when using libmysqlclient, you must call mysql_server_end() to nicely free memory at the end
      of your program; it however sounds weird to call a function named *SERVER_end* when you're the CLIENT (you're not ending the server, you're ending
      your ability to talk to servers). So here I add two defines which should be more generic names. Our manual
      mentions these functions only for libmysqld API so needs some fixing, and then we can close BUG#8099 and BUG#6149.
      
      
      include/mysql.h:
        Creating synonyms (defines): mysql_library_init for mysql_server_init, mysql_library_end for mysql_server_end;
        these new names are more generic, so suitable when using libmysqlclient as well as libmysqld.
      0c22eaa9
    • unknown's avatar
      Fix for BUG#8055 "Trouble with replication from temporary tables and ignores": · 19add49c
      unknown authored
      when we close the session's temp tables at session end, we automatically write to binlog *one* DROP TEMPORARY TABLE *per tmp table*.
      
      
      mysql-test/r/drop_temp_table.result:
        result update (note: one DROP TEMPORARY TABLE per tmp table)
      mysql-test/t/drop_temp_table.test:
        checking that we have one DROP TEMPORARY TABLE per tmp table now, not one multi-table DROP.
        Hiding columns Log_pos/End_log_pos per Monty's request.
      sql/sql_base.cc:
        When we close the session's temp tables at session end, we automatically write to binlog one DROP TEMPORARY TABLE per tmp table, 
        not one single multi-table DROP TEMPORARY TABLE (because it causes problems if slave has --replicate*table rules).
      19add49c
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-8029 · 32468d3a
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      32468d3a
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-6067 · a2f1d7d5
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      sql/field.cc:
        Auto merged
      a2f1d7d5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 7794fe74
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      7794fe74
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 4d9faee1
      unknown authored
      into mysql.com:/home/mysqldev/tulin/mysql-4.1
      
      4d9faee1
    • unknown's avatar
      Merge Bug#7310 from 4.0 · 81200b5b
      unknown authored
      81200b5b
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 42d48eba
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      42d48eba
    • unknown's avatar
      Embedded version of test fixed · f464084d
      unknown authored
      
      mysql-test/r/insert_select.result.es:
        Test.es fixed
      f464084d
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · e2950ae3
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/item_func.cc:
        Auto merged
      e2950ae3
    • unknown's avatar
      indexless boolean fulltext search was depending on default_charset_info - Bug#8159 · 1d866688
      unknown authored
      ftbw->off wasn't cleared on reinit - Bug#8234
      
      
      include/ft_global.h:
        get rid of default_charset_info in indexless fulltext searches
      myisam/ft_boolean_search.c:
        get rid of default_charset_info in indexless fulltext searches
        clear ftbw->off on reinits
      myisam/ft_static.c:
        get rid of default_charset_info in indexless fulltext searches
      myisam/ftdefs.h:
        get rid of default_charset_info in indexless fulltext searches
      sql/ha_myisam.h:
        get rid of default_charset_info in indexless fulltext searches
      sql/handler.h:
        get rid of default_charset_info in indexless fulltext searches
      sql/item_func.cc:
        get rid of default_charset_info in indexless fulltext searches
      1d866688
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · ae5b259c
      unknown authored
      into mysql.com:/home/mysqldev/tulin/mysql-4.1
      
      ae5b259c
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 96c8f4f0
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      96c8f4f0
    • unknown's avatar
      added test to trigger drifferent fragmentations in ndb · 6dabd8e5
      unknown authored
          corrected documentation on fragmentation
          set "fragmentation medium" to mean 2 fragments per node instead of 1
          set default fragmentation to small instead of medium
          bug#8284 adjust fragmentation to max_rows
      
      
      mysql-test/r/ndb_basic.result:
        added test to trigger drifferent fragmentations in ndb
      mysql-test/t/ndb_basic.test:
        added test to trigger drifferent fragmentations in ndb
      ndb/include/ndbapi/NdbDictionary.hpp:
        corrected documentation on fragmentation
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        set "fragmentation medium" to mean 2 fragments per node instead of 1
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        set default fragmentation to small instead of medium
      sql/ha_ndbcluster.cc:
        bug#8284 adjust fragmentation to max_rows
      6dabd8e5
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 47f43916
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-4.1
      
      47f43916
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · bf4e93df
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-4.1
      
      bf4e93df
    • unknown's avatar
      A fix: bug#6931: Date Type column problem when using UNION-Table · ee41cbfc
      unknown authored
             bug#7833:  Wrong datatype of aggregate column is returned
      
      
      mysql-test/r/func_group.result:
        Test case for bug 7833:  Wrong datatype of aggregate column is returned
      mysql-test/r/union.result:
        Test case for bug 6931: Date Type column problem when using UNION-Table.
      mysql-test/t/func_group.test:
        Test case for bug 7833:  Wrong datatype of aggregate column is returned
      mysql-test/t/union.test:
        Test case for bug 6931: Date Type column problem when using UNION-Table.
      ee41cbfc
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6066c0b9
      unknown authored
      into mysql.com:/usr/home/ram/work/4.1
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      6066c0b9
    • unknown's avatar
      type_float.result.es updated. · 3d04178b
      unknown authored
      
      mysql-test/r/type_float.result.es:
        Updated.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3d04178b
    • unknown's avatar
      Merge tkatchaounov@bk-internal.mysql.com:/home/bk/mysql-4.1 · fbd9a6f8
      unknown authored
      into mysql.com:/home/timka/mysql/src/4.1-virgin
      
      fbd9a6f8
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/4.1-dbg · b1e30aa8
      unknown authored
      into mysql.com:/home/timka/mysql/src/4.1-bug-8023
      
      b1e30aa8
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · a7e02476
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
      
      a7e02476
    • unknown's avatar
      Fix for BUG#7716: in in_string::set() take into account that the value returned · e8acfe21
      unknown authored
      by item->val_str() may be a substring of the passed string. 
      Disallow string=its_substring assignment in String::operator=().
      
      
      mysql-test/r/func_misc.result:
        Testcase for BUG#7716
      mysql-test/t/func_misc.test:
        Testcase for BUG#7716
      sql/item_cmpfunc.cc:
        Fix for BUG#7716: in in_string::set() take into account that the string returned 
        by item->val_str(S) may be not S but use the buffer owned by S.
      sql/sql_string.h:
        * Added assert: String& String::operator=(const String&) may not be used to do 
          assignments like str = string_that_uses_buffer_owned_by_str
        * Added String::uses_buffer_owned_by().
      e8acfe21
  3. 03 Feb, 2005 14 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 68d2c5d5
      unknown authored
      into pcgem.rdg.cyberkinetica.com:/var/db/bk/work-acurtis/bug8057
      
      68d2c5d5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · d52d3df5
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      d52d3df5
    • unknown's avatar
      ndb - sol9x86: cc -xO3: fix optimizer error. · b34618be
      unknown authored
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        sol9x86: cc -xO3: fix optimizer error.
        Note: same expression remains in Field_newdate::val_int().
      b34618be
    • unknown's avatar
      Copy *.result.es files for binary distribution so embedded tests can be run · efede6e0
      unknown authored
      
      scripts/make_binary_distribution.sh:
        Make sure to copy result.es files
      efede6e0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 3ea05a5f
      unknown authored
      into pcgem.rdg.cyberkinetica.com:/var/db/bk/work-acurtis/bug8057
      
      
      sql/item_func.cc:
        Auto merged
      3ea05a5f
    • unknown's avatar
      Bug#8057 · db8ff6b2
      unknown authored
        Fix crash with LAST_INSERT_ID() in UPDATE,
        Tests included,
      
      
      mysql-test/r/update.result:
        Bug#8057
          Test for bug
      mysql-test/t/update.test:
        Bug#8057
          Test for bug
      sql/item_func.cc:
        Bug#8057
          Don't create new Item in val_int()
      db8ff6b2
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 78191155
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
      
      78191155
    • unknown's avatar
      mtr_cases.pl: · 97e031d1
      unknown authored
        new file
      
      97e031d1
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9a086e8a
      unknown authored
      into orca.ndb.mysql.com:/export/home/mikael/mysql-4.1
      
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      9a086e8a
    • unknown's avatar
      mysql-test-run.pl: · 6f2b1823
      unknown authored
        Let --start-and-exit actually start a server
        Added that test case names can be specified on the comman line
        Added embedded server support
        Added environment variables UMASK, UMASK_DIR
        Added missing MASTER_MYSOCK1, MASTER_MYPORT1, USE_RUNNING_SERVER
        Added missing CHARSETSDIR, MYSQL_FIX_SYSTEM_TABLES, MYSQL_CLIENT_TEST
        Pass on return value from sleep_until_file_created(), to fail test
        Fail test if early termination of mysqld servers
        Create intial databases for the second master, and two additional slaves
      mtr_process.pl:
        Find out if port is still in use, using simple TCP connect
        Use non blocking waitpid() to catch terminations early
        Make a special case spawning the 'mysqltest' application
        Redo the fork() if it returns EAGAIN
        Make sure to record if master or slave terminated
        Improved debugging output
        Improved code that remove PID files to avoid race
        Abort if we can't stop all mysqld servers using our ports
        Many improvements in killing mysqld servers
        Let sleep_until_file_created() catch if server died early
      mtr_report.pl:
        Added option to disable test cases using <testcase>.disabled file
        If --timer, only try to open file with time data if it exists
      mtr_io.pl:
        Remove starting/ending space reading server options from file
      
      
      mysql-test/lib/mtr_io.pl:
        Remove starting/ending space reading server options from file
      mysql-test/lib/mtr_report.pl:
        Added option to disable test cases using <testcase>.disabled file
        If --timer, only try to open file with time data if it exists
      mysql-test/lib/mtr_process.pl:
        Find out if port is still in use, using simple TCP connect
        Use non blocking waitpid() to catch terminations early
        Make a special case spawning the 'mysqltest' application
        Redo the fork() if it returns EAGAIN
        Make sure to record if master or slave terminated
        Improved debugging output
        Improved code that remove PID files to avoid race
        Abort if we can't stop all mysqld servers using our ports
        Many improvements in killing mysqld servers
        Let sleep_until_file_created() catch if server died early
      mysql-test/mysql-test-run.pl:
        Let --start-and-exit actually start a server
        Added that test case names can be specified on the comman line
        Added embedded server support
        Added environment variables UMASK, UMASK_DIR
        Added missing MASTER_MYSOCK1, MASTER_MYPORT1, USE_RUNNING_SERVER
        Added missing CHARSETSDIR, MYSQL_FIX_SYSTEM_TABLES, MYSQL_CLIENT_TEST
        Pass on return value from sleep_until_file_created(), to fail test
        Fail test if early termination of mysqld servers
        Create intial databases for the second master, and two additional slaves
      6f2b1823
    • unknown's avatar
      Bug#7310 · 3b7cbaf0
      unknown authored
        Fix test for classic builds
      
      
      mysql-test/t/multi_update.test:
        Bug#7310
          Ignore warnings for Bug#5837 test
      3b7cbaf0
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · ca24158d
      unknown authored
      into mysql.com:/Users/mikron/mysql-4.1
      
      ca24158d
    • unknown's avatar
      made an .sh file of ndb-config-2-node.ini instead · 43125cb2
      unknown authored
      
      support-files/ndb-config-2-node.ini.sh:
        Rename: support-files/ndb-config-2-node.ini -> support-files/ndb-config-2-node.ini.sh
      43125cb2
    • unknown's avatar
      ndbcluster rpms · d954574f
      unknown authored
      d954574f