1. 02 Oct, 2003 1 commit
    • unknown's avatar
      Optimized code for setting user variables with := and fixed some bugs in old code (Bug #1194) · 2985e91a
      unknown authored
      Use forced close of socket to make mysqld shutdown faster when used under valgrind
      
      
      mysql-test/mysql-test-run.sh:
        Added --skip-bdb for valgrind
      mysql-test/r/user_var.result:
        Extended test for user variables
      mysql-test/t/user_var.test:
        Extended test for user variables
      sql/item_func.cc:
        Optimized code for setting user variables with := and fixed some bugs in old code
      sql/item_func.h:
        Optimized code for setting user variables
      sql/log.cc:
        Fixed comments
      sql/mysqld.cc:
        Use forced close of socket to make mysqld shutdown faster when used under valgrind
      sql/sql_class.h:
        Optimized code for setting user variables
      2985e91a
  2. 01 Oct, 2003 5 commits
  3. 30 Sep, 2003 1 commit
  4. 29 Sep, 2003 5 commits
    • unknown's avatar
      A note that Valgrind does not give a good stacktrace when the problem · 16de8b37
      unknown authored
      is involving an assembly function.
      Testcase was BUG#1194
      SELECT @A:=1; SELECT @A, @A:=1;
      
      
      BUILD/compile-pentium-valgrind-max:
        a warning note about Valgrind&assembly.
      16de8b37
    • unknown's avatar
      fix for a random test failure on hpux/ia64 · 4e24aff5
      unknown authored
      (a missing synchronization in the test)
      
      
      mysql-test/r/drop_temp_table.result:
        result update
      mysql-test/t/drop_temp_table.test:
        synchronize to be sure that the ending connection has finished binlogging.
      4e24aff5
    • unknown's avatar
      Added resetting of replace_result patterns after --exec command in mysqltest... · 55dc3dcb
      unknown authored
      Added resetting of replace_result patterns after --exec command in mysqltest (in order to be consistent with ordinary query execution).
      
      
      client/mysqltest.c:
        Now resetting replace_result patterns after --exec command (in order to be consistent with ordinary query execution).
      mysql-test/t/mysqlbinlog.test:
        Added additional replaces potentially needed after adding reset of replace conditions for exec
      55dc3dcb
    • unknown's avatar
      - enable changing the number of table bits for JOINs to be increased · ad0a7a30
      unknown authored
         from ulong to ulonglong by defining -DBIG_JOINS
      
      
      sql/mysql_priv.h:
         - enable changing the number of table bits for JOINs to be increased
           from ulong to ulonglong by defining BIG_JOINS
      ad0a7a30
    • unknown's avatar
      Removed random chars after filename for LOAD DATA INFILE (in mysqlbinlog) · e03265d4
      unknown authored
      Add quoting for use `database` for mysqlbinlog
      Removed test ins0000001
      Add support for --replace for exec in mysqltest
      Don't refer to install dir in mysqlbinlog.result
      
      
      BitKeeper/deleted/.del-ins000001.result~f45c599efdf8352b:
        Delete: mysql-test/r/ins000001.result
      BitKeeper/deleted/.del-ins000001.test~2428ee5c9b1bc483:
        Delete: mysql-test/t/ins000001.test
      client/mysqlbinlog.cc:
        Removed random chars after filename for LOAD DATA INFILE
      client/mysqltest.c:
        Add support for --replace for 'exec'
      mysql-test/r/drop_temp_table.result:
        Updated results after quoting change
      mysql-test/r/fulltext_multi.result:
        Updated results after quoting change
      mysql-test/r/fulltext_order_by.result:
        Updated results after quoting change
      mysql-test/r/insert.result:
        New tests
      mysql-test/r/insert_select.result:
        Updated results after quoting change
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Updated results after quoting change
      mysql-test/r/mysqlbinlog.result:
        Updated results after quoting change
      mysql-test/r/rpl_log.result:
        Updated results after quoting change
      mysql-test/t/fulltext_multi.test:
        Remove 'use'
      mysql-test/t/fulltext_order_by.test:
        Remove 'use'
      mysql-test/t/insert.test:
        Merge test with ins0000001.test
      mysql-test/t/mysqlbinlog.test:
        Don't refer to install dir in result
      sql/log_event.cc:
        Add quoting for use `database` for mysqlbinlog
      support-files/mysql.server.sh:
        Move pid_file test after arguments have been parsed
      e03265d4
  5. 28 Sep, 2003 1 commit
    • unknown's avatar
      Fix for BUG#1345 "SQL Syntax Error in binarylog with DROP TABLES": · 3106e311
      unknown authored
      it's just backquoting the db's and table's names
      when writing DROP TEMPORARY TABLE to the binlog when a connection ends.
      A testcase for this.
      
      
      sql/sql_base.cc:
        backquote db and table name when writing DROP TEMPORARY TABLE to the binlog
        when a connection ends.
      3106e311
  6. 26 Sep, 2003 2 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · d84ae0fd
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      d84ae0fd
    • unknown's avatar
      Fix for 64-bit machines. · e7f4749f
      unknown authored
      I am almost sure this is the cause for
      BUG#1381 [Opn]: Bug in replication on HP-UX 64 bit binaries?
      BUG#1256 [CRp]: Replication slave fails to connect to master in 64-bit version (Solaris)
      The reason why I think it's wrong is that the normal client code has 
      uint32 ip_addr.
      (of course on 32-bit machines it does not matter, but on 64-bit it does).
      
      
      e7f4749f
  7. 25 Sep, 2003 3 commits
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · 21d0da15
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      21d0da15
    • unknown's avatar
      - Improved portability of the sql-bench Perl scripts by replacing · dd3af225
      unknown authored
         the calls of external programs "uname" and "pwd" with Perl builtin
         functions "cwd()" and "POSIX::uname()"
      
      
      sql-bench/as3ap.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/bench-count-distinct.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/bench-init.pl.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
         - portability fix: don't call external "uname" in various combinations,
           use POSIX::uname() instead.
      sql-bench/copy-db.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/crash-me.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
         - portability fix: don't call external "uname" in various combinations,
           use POSIX::uname() instead.
      sql-bench/innotest1.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/innotest1a.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/innotest1b.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/innotest2.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/innotest2a.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/innotest2b.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/run-all-tests.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-ATIS.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-alter-table.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-big-tables.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-connect.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-create.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-insert.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-select.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-transactions.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      sql-bench/test-wisconsin.sh:
         - portability fix: don't call external "pwd" command, use the "cwd()"
           builtin function instead.
      dd3af225
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · ba9e2efc
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.0-binlog
      
      
      ba9e2efc
  8. 24 Sep, 2003 16 commits
  9. 23 Sep, 2003 3 commits
    • unknown's avatar
      Code cleanup of new patches · 792aa09e
      unknown authored
      
      mysys/mf_dirname.c:
        Added comments
      792aa09e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 58ec8f35
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      extra/comp_err.c:
        Auto merged
      58ec8f35
    • unknown's avatar
      Block SIGPIPE also for not threaded client programs. · a86e11ef
      unknown authored
      Added --include and --libs_r options to mysql_config.
      Added mysql_get_client_version() to client library
      Fixed some minor benchmark issues
      
      
      
      acinclude.m4:
        Fixed that 'no' is printed if openssl not used
      configure.in:
        Fixed error message
      extra/comp_err.c:
        Skip lines before first {
      include/mysql.h:
        Indentation cleanup
      libmysql/libmysql.c:
        Block SIGPIPE also for not threaded programs.
        This is now done once in mysql_server_init() and not for every call to mysql_init().
        Added mysql_get_client_version()
      libmysql/libmysql.def:
        added mysql_get_client_version
      scripts/Makefile.am:
        Add openssl libraries to mysql_config
      scripts/mysql_config.sh:
        Added options --include and --libs_r
        Added C compiler options to 'cflags'
      scripts/mysql_install_db.sh:
        Fixed tests with IN_RPM to not give warnings
      sql-bench/bench-init.pl.sh:
        Updated version number
      sql-bench/server-cfg.sh:
        Remove duplicate line
      sql-bench/test-alter-table.sh:
        Increase loops for more relevant test
      sql-bench/test-select.sh:
        Fix wrong test for count_distinct_2
      tests/mail_to_db.pl:
        Default db and table for easier usage
      a86e11ef
  10. 20 Sep, 2003 1 commit
  11. 19 Sep, 2003 2 commits