An error occurred fetching the project authors.
  1. 02 Nov, 2003 1 commit
    • unknown's avatar
      Cleanups (comments and compiler warnings) · 18665803
      unknown authored
      dded init of variable to fix core dump on startup errors
      
      
      mysql-test/Makefile.am:
        Added transformation of socket address for mysql-test-run
      mysql-test/mysql-test-run.sh:
        Added option --socket
      sql/derror.cc:
        Removed compiler warning
      sql/mysql_priv.h:
        Moved assert up to be able to use asserts in other header files
      sql/mysqld.cc:
        Fixed comment
      sql/sql_bitmap.h:
        Added copyright notice
        Removed not needed header files
      sql/sql_class.cc:
        Added init of variable to fix core dump on startup errors
      sql/sql_test.cc:
        Fixed compiler errors (from key_map code)
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      18665803
  2. 08 Oct, 2003 1 commit
    • unknown's avatar
      Fixes after merge · 1ead85e6
      unknown authored
      mysql-test/std_data/trunc_binlog.000001:
        Rename: mysql-test/std_data/trunc_binlog.001 -> mysql-test/std_data/trunc_binlog.000001
      client/mysqltest.c:
        Fixed merge problem
      mysql-test/mysql-test-run.sh:
        Fixed merge problem
      mysql-test/r/distinct.result:
        Fix after merge
      mysql-test/r/drop_temp_table.result:
        Fix after merge
      mysql-test/r/join_outer.result:
        Fix after merge
      mysql-test/r/mysqldump.result:
        Fix after merge
      mysql-test/r/null_key.result:
        Fix after merge
      mysql-test/r/order_by.result:
        Fix after merge
      mysql-test/r/rpl_alter.result:
        Fix after merge
      mysql-test/r/rpl_loaddata.result:
        Fix after merge
      mysql-test/r/rpl_loaddata_rule_m.result:
        Fix after merge
      mysql-test/r/rpl_trunc_binlog.result:
        Fix after merge
      mysql-test/r/select_safe.result:
        Fix after merge
      mysql-test/t/insert.test:
        Fix after merge
      mysql-test/t/mysqlbinlog.test:
        Fix after merge
      mysql-test/t/rpl000009.test:
        Fix after merge
      mysql-test/t/rpl_alter.test:
        Fix after merge
      mysql-test/t/rpl_loaddata_rule_m.test:
        Fix after merge
      mysql-test/t/rpl_trunc_binlog.test:
        Fix after merge
      sql-common/client.c:
        Fix after merge
      sql/item_subselect.cc:
        Fix after merge
      sql/repl_failsafe.cc:
        Fix after merge
      sql/slave.cc:
        Fix after merge
      sql/sql_insert.cc:
        Fix after merge
      1ead85e6
  3. 07 Oct, 2003 1 commit
    • unknown's avatar
      Simple cleanups · c7fd510a
      unknown authored
      client/mysqlbinlog.cc:
        Add default handling to mysqlbinlog
      mysql-test/mysql-test-run.sh:
        Cleanup of mysqldump/mysqlbinlog argument handling
      scripts/Makefile.am:
        Remove duplicate
      scripts/mysql_install_db.sh:
        Change -eq to =
      c7fd510a
  4. 06 Oct, 2003 1 commit
    • unknown's avatar
      After merge fixes · bc4a57f0
      unknown authored
      extra/resolveip.c:
        After merge fix
      mysql-test/mysql-test-run.sh:
        Fixed comment
      mysql-test/r/rpl_trunc_binlog.result:
        Updated results
      sql/log_event.cc:
        Better (shorter) error message
      bc4a57f0
  5. 04 Oct, 2003 1 commit
    • unknown's avatar
      Ride hobby horse. · a0e2753e
      unknown authored
      mysql-test/mysql-test-run.sh:
        deamon -> daemon
      scripts/mysql_install_db.sh:
        deamon -> daemon
      support-files/my-small.cnf.sh:
        deamon -> daemon
      a0e2753e
  6. 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
  7. 24 Sep, 2003 3 commits
  8. 08 Sep, 2003 1 commit
  9. 25 Aug, 2003 1 commit
  10. 22 Aug, 2003 1 commit
    • unknown's avatar
      Move test that uses many tables (in query_cache.test) to separate test so that... · 64393d7e
      unknown authored
      Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files.
      
      
      client/mysqltest.c:
        Fix that LET can be used with queries that return multiple columns
      libmysql/errmsg.c:
        Extend socket name to 100 characters in error messages
      libmysql/libmysql.c:
        Reset some variables to make ensure that we can call mysql_server_init()/mysql_server_end() many times
      mysql-test/mysql-test-run.sh:
        Set open-files-limit to 1024
      mysql-test/r/loaddata.result:
        Add test case for LOAD DATA bug report (was not a bug)
      mysql-test/r/query_cache.result:
        Move test with many tables to separate test
      mysql-test/r/select_safe.result:
        Make test repeatable
      mysql-test/t/loaddata.test:
        Add test case for LOAD DATA bug report (was not a bug)
      mysql-test/t/query_cache.test:
        Move test with many tables to separate test
      mysql-test/t/select_safe.test:
        Make test repeatable
      sql/field.cc:
        Portability fix for gcc 3.3
      sql/mysqld.cc:
        Store in open_files_limit the true number of files we can open (if system supports it)
      sql/sql_load.cc:
        Safety fix
      64393d7e
  11. 20 Aug, 2003 1 commit
    • unknown's avatar
      Fixed some varnings from valgrind · de5d47c3
      unknown authored
      Set min value of max_allowed_packet to 1024
      Fixed problem with UNION's without braces and SQL_CALC_FOUND_ROWS, LIMIT #,#
      and ORDER BY...LIMIT
      
      
      include/m_string.h:
        Added memcpy_overlap() to avoid warnings when using valgrind on memcpy(A,A,...)
      myisam/mi_create.c:
        Fixed comment
      myisam/mi_search.c:
        Fix warning from valgrind
      myisam/mi_write.c:
        Indentation fix
      mysql-test/mysql-test-run.sh:
        Add options handled by general skip- option
      mysql-test/r/packet.result:
        Update results after change to mysqld (min max_allowed_packet length is now 1024)
      mysql-test/r/union.result:
        Added testing of UNION with SQL_CALC_FOUND_ROWS
      mysql-test/t/packet.test:
        Update results after change to mysqld (min max_allowed_packet length is now 1024)
      mysql-test/t/union.test:
        Added testing of UNION with SQL_CALC_FOUND_ROWS
      sql/field.cc:
        Fix to remove waarning from valgrind
      sql/ha_innodb.cc:
        Remove wrong include file
      sql/item_cmpfunc.cc:
        Safety fix to handle EOM conditions in IN
      sql/item_sum.cc:
        Fixed prototype for update_field() (argument was alwys 0)
      sql/item_sum.h:
        Fixed prototype for update_field() (argument was alwys 0)
      sql/item_uniq.h:
        Fixed prototype for update_field() (argument was alwys 0)
      sql/log.cc:
        Indentation fix
      sql/mysqld.cc:
        Set min value of max_allowed_packet to 1024 (to avoid it getting set to 0)
      sql/net_serv.cc:
        Indentation changes + trivial optimization
      sql/sql_select.cc:
        Fixed prototype for update_field() (argument was alwys 0)
      sql/sql_union.cc:
        Fixed problem with UNION's without braces and
        - SQL_CALC_FOUND_ROWS
        - LIMIT #,#
        - ORDER BY ... LIMIT
      de5d47c3
  12. 19 Aug, 2003 1 commit
    • unknown's avatar
      After merge fixes + bugs from last merge · aa900a5e
      unknown authored
      mysql-test/mysql-test-run.sh:
        Use --skip-bdb with valgrind (as bdb tables causes valgrind to hang)
        Fix --ddd option
      mysql-test/t/union.test:
        After merge fix
      sql/item.cc:
        Fixed typo
      sql/log_event.cc:
        Move current_tablenr to open_tables()
      sql/protocol.h:
        Fixed wrong memory reference
      sql/set_var.cc:
        After merge fix
      sql/slave.cc:
        Reset thd->lex.current_select before execute
      sql/sql_base.cc:
        Move current_tablenr to open_tables()
      sql/sql_class.cc:
        Move current_tablenr to open_tables()
        Add missing update_charset()
      sql/sql_parse.cc:
        Move current_tablenr to open_tables()
        Simple cleanup
      sql/table.cc:
        Code cleanup
      aa900a5e
  13. 17 Jun, 2003 1 commit
    • unknown's avatar
      Better error reporting in mysql-test-run (don't hide the important message · 800bbfa0
      unknown authored
      with 'head').
      Test fix (this sync_with_master was nonsense).
      Now all tests pass in 4.0 in autobuild.
      
      
      mysql-test/mysql-test-run.sh:
        Error reporting (how mysql-test-run filters the messages which mysqltest prints
        on stderr) is not reliable. It does a 'head the first line only' which in
        my case caused me to lose some time, because in fact the worrying message was
        on the second line (logically, the one which caused the die() is at the
        end of the $TIMEFILE file, not at the beginning).
        Doing a 'tail' is better but not perfect (depending on the build, one may get
        "Maximum memory usage" as the last line); it's always good to have all messages
        and spot the important one oneself. So we print all $TIMEFILE (that's a few lines
        at most).
      mysql-test/t/rpl_rotate_logs.test:
        Dont sync_with_master as the SQL slave thread may be stopped at this moment;
        just wait_for_slave_to_stop. Doing sync_with_master caused a non-deterministic
        behaviour, because (note that save_master_pos was called to early) sometimes
        MASTER_POS_WAIT() started before the SQL thread died (because of unique
        violation) so returned 0, other times it started after the SQL thread died
        so returned NULL (which is reported by mysqltest as an error, on stderr).
      800bbfa0
  14. 10 Jun, 2003 2 commits
    • unknown's avatar
      More error messages. This is intended to help debugging; presently I have a · 08807957
      unknown authored
      support issue with an unclear message which can have N reasons for appearing.
      This should help us know at which point it failed, and get the errno when
      my_open was involved (as the reason for the unclear message is often a
      permission problem).
      RESET SLAVE resets last_error and last_errno in SHOW SLAVE STATUS (without this,
      rpl_loaddata.test, which is expected to generate an error in last_error, influenced
      rpl_log_pos.test).
      A small test update.
      Added STOP SLAVE to mysql-test-run to get rid of several stupid error messages
      which are printed while the master restarts and the slave attempts/manages to
      connect to it and sends it nonsense binlog requests.
      
      
      mysql-test/mysql-test-run.sh:
        Before running a test, stop slave threads if they exist (if they don't
        the script goes on fine). This also works fine with the manager.
        Before this change, when the master was stopped/restarted (which happened before
        the slave server was stopped/restarted), the slave threads
        noticed the stop (so printed an error message in slave.err), then managed to
        reconnect (to the new master, the one that is running for the _next_ test),
        and this reconnection had time to produce error messages (because, for example,
        the binlog the slave thread was asking had been deleted) before the slave server
        was killed. This change reduces by 10% (40 lines) slave.err in replication tests.
      mysql-test/r/rpl000018.result:
        Result update.
      mysql-test/t/rpl000018.test:
        This test does "show master logs" so should do "reset master" instead of
        relying on the previous tests.
      sql/slave.cc:
        More error messages.
      sql/sql_repl.cc:
        More error messages.
        RESET SLAVE resets last_error and last_errno in SHOW SLAVE STATUS.
      08807957
    • unknown's avatar
      Don't install signal handler for SIGINT by default · a1a58d6c
      unknown authored
      Added option --gdb
      Free memory used by replicate_xxx and binglog_xxx options
      
      
      mysql-test/mysql-test-run.sh:
        Added --gdb when using gdb
      mysys/thr_alarm.c:
        Safety check
      sql/mysql_priv.h:
        Don't install signal handler for SIGINT by default
      sql/mysqld.cc:
        Don't install signal handler for SIGINT by default
        Added option --gdb
        Free memory used by replicate_xxx and binglog_xxx options.
        Add statistics variable for killed threads
      sql/repl_failsafe.cc:
        Incremented aborted_connects on failure
      sql/sql_list.cc:
        Added free_list() to free memory on shutdown.
      a1a58d6c
  15. 27 May, 2003 1 commit
    • unknown's avatar
      Fixed problem with mysql prompt when server disconnect. (Bug 356) · 4920a332
      unknown authored
      Fixed problem with localtime -> gmt where some times resulted in
      different (but correct) timestamps. Now MySQL should use the smallest
      possible timestamp value in this case.  (Bug 316)
      
      
      client/mysql.cc:
        Fixed problem with prompt when server disconnect. (Bug 356)
      client/mysqltest.c:
        More debug information
      mysql-test/mysql-test-run.sh:
        Added support for --timezone in -master.opt
      mysql-test/t/raid.test:
        Fixed test if raid is enabled
      sql/field.cc:
        New my_gmt_sec() parameters
      sql/mysql_priv.h:
        New my_gmt_sec() parameters
      sql/mysqld.cc:
        Remove LOCK_timezone.
        Code cleanup
      sql/time.cc:
        Fixed problem with localtime -> gmt where some times resulted in
        different (but correct) timestamps. Now MySQL should use the smallest
        possible timestamp value in this case.  (Bug 316)
      4920a332
  16. 21 May, 2003 1 commit
  17. 15 May, 2003 1 commit
    • unknown's avatar
      Scrum task 845. Thi is a behaviour change : · ec72bda5
      unknown authored
      now by default, FLUSH, OPTIMIZE, ANALYZE, REPAIR commands are written to the
      binlog, unless the new NO_WRITE_TO_BINLOG keyword was used :
      OPTIMIZE NO_WRITE_TO_BINLOG table t;
      
      Previously these commands were never written to the binlog, but there are
      2 reasons to change this :
      - the RENAME TABLE in MERGE table bug (#175) on slave
      - the possible "differently optimised queries may lead to different
      updates on the master and slave" bug, until we have automatic ORDER BY.
      
      FLUSH LOGS/SLAVE/MASTER/TABLES WITH READ LOCK are never written to the binlog.
      New test for the new logging behaviour.
      Other small change : reload_acl_and_cache() and reset_slave() don't send their errors themselves,
      this is more usual.
      
      
      mysql-test/mysql-test-run.sh:
        rpl_flush_tables.test generates 'table xx is open on rename'.
        This is normal and done on purpose, so don't report it.
      sql/lex.h:
        New keyword NO_WRITE_TO_BINLOG
      sql/mysql_priv.h:
        reload_acl_and_cache() now decides if we want to write the FLUSH command
        to the binlog or not (FLUSH MASTER, FLUSH SLAVE, FLUSH TABLES
        WITH READ LOCK, FLUSH LOGS cannot go into the binlog).
      sql/mysqld.cc:
        updated for new prototype of reload_acl_and_cache().
      sql/sql_lex.h:
        New boolean no_write_to_binlog in the lex structure.
      sql/sql_parse.cc:
        reload_acl_and_cache() now does not send its errors itself;
        it saves the error and the caller sends it.
        FLUSH, OPTIMIZE, ANALYZE, REPAIR commands don't write to the binlog
        if the NO_WRITE_TO_BINLOG keyword was used.
      sql/sql_repl.cc:
        reset_slave() does not send its errors himself.
      sql/sql_yacc.yy:
        New optional keyword NO_WRITE_TO_BINLOG for OPTIMIZE/ANALYZE/REPAIR/FLUSH :
        OPTIMIZE NO_WRITE_TO_BINLOG TABLE t;
        ANALYZE NO_WRITE_TO_BINLOG TABLE t;
        REPAIR NO_WRITE_TO_BINLOG TABLE t;
        FLUSH NO_WRITE_TO_BINLOG TABLE t;
      ec72bda5
  18. 14 May, 2003 1 commit
    • unknown's avatar
      Fixed bug in CREATE ... DECIMAL(-1,1). Bug #432 · ac316cfd
      unknown authored
      mysql-test/mysql-test-run.sh:
        Ensure that tests are sorted
      mysql-test/r/type_decimal.result:
        Test for bug with decimal()
      mysql-test/t/type_decimal.test:
        Test for bug with decimal()
      sql/sql_parse.cc:
        Fixed bug in CREATE ... DECIMAL(-1,1)
      ac316cfd
  19. 13 May, 2003 1 commit
  20. 11 Mar, 2003 2 commits
    • unknown's avatar
      Simple fixes (nothing notable) · fa4f6e89
      unknown authored
      dbug/dbug.c:
        Remove duplicate va_end() call
      mysql-test/mysql-test-run.sh:
        Longer stack trace from valgrind
      mysys/my_lib.c:
        Fixed wrong dbug printf
      sql/slave.cc:
        Simple optimization
      sql/sql_class.cc:
        Added DBUG info
      fa4f6e89
    • unknown's avatar
      Openssl test · 3ab65568
      unknown authored
      client/mysqltest.c:
        For openssl test
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3ab65568
  21. 10 Mar, 2003 1 commit
    • unknown's avatar
      Don't allow BACKUP TABLE to overwrite files · 68ae3653
      unknown authored
      Fixed memory leak when replication restarts in debug mode
      
      
      include/my_sys.h:
        Added option to not overwrite files to my_copy()
      mysql-test/mysql-test-run.sh:
        Fixed --ddd option
        Fixed that mysqld is restarted if there is a testname-master.sh file
      mysql-test/r/backup.result:
        Update for security fix in BACKUP TABLE
      mysql-test/t/backup.test:
        Update for security fix in BACKUP TABLE
      mysys/my_copy.c:
        Added option to not overwrite files to my_copy()
      sql/ha_myisam.cc:
        Don't allow BACKUP TABLE to overwrite files
      sql/slave.cc:
        Fixed problem with --debug output from 'handle_slave'
        Fixed memory leak when replication restarts in debug mode
      68ae3653
  22. 09 Mar, 2003 1 commit
  23. 04 Mar, 2003 1 commit
    • unknown's avatar
      Fixed bug in LOCK TABLE + DROP TABLE when other thread was waiting for a table... · 3446199d
      unknown authored
      Fixed bug in LOCK TABLE + DROP TABLE when other thread was waiting for a table that was locked bug not droped
      
      
      client/mysqltest.c:
        Fixed bug that comments did a ping
      include/thr_lock.h:
        Added function to abort a lock for a specific thread
      mysql-test/mysql-test-run.sh:
        Fixed where mysqltest traces are put
      mysql-test/r/lock_multi.result:
        Test for LOCK TABLE + DROP TABLE bug
      mysql-test/t/lock_multi.test:
        Test for LOCK TABLE + DROP TABLE bug
      mysys/thr_lock.c:
        Added function to abort a lock for a specific thread
      sql/handler.cc:
        Indentation cleanup
      sql/lock.cc:
        Added function to abort a lock for a specific thread
      sql/mysql_priv.h:
        Added function to abort a lock for a specific thread
      sql/mysqld.cc:
        Use automatic recover even with --safe
      3446199d
  24. 03 Mar, 2003 1 commit
    • unknown's avatar
      Replication: small bug fixes in mysql-test-run.sh and in replication code (more reinitializations) · 28554150
      unknown authored
      + fix for #70 
      + test result fix for LOAD DATA LOCAL bug #82
      
      
      client/mysqltest.c:
        Removed wrong comment and useless sleep
      mysql-test/mysql-test-run.sh:
        Fix $slave_datadir variable because this
          if [ -n "$1" ] ; 
           slave_datadir="var/$slave_ident-data/"
          else
            slave_datadir=$SLAVE_MYDDIR
        was not coherent and led to problems of master.info not being deleted.
        Delete relay-log.info too.
      mysql-test/r/rpl000001.result:
        SUM is 1022 (1021 was when we had the LOAD DATA LOCAL bug #82).
        It's logical to have an even number as we load the same file twice.
      sql/slave.cc:
        When we RESET SLAVE, clear rli->master_log_* to give a good display in SHOW SLAVE STATUS ;
        seeing the old values may confuse the user.
        When we START SLAVE, clear rli->master_log_name, not only rli->master_log_pos.
      sql/sql_repl.cc:
        When we RESET SLAVE, clear mi->master_log_* to give a good display in SHOW SLAVE STATUS (bug #70)
      28554150
  25. 25 Feb, 2003 1 commit
  26. 17 Feb, 2003 1 commit
    • unknown's avatar
      Fixed multi-table-delete for InnoDB tables · 300b3fb6
      unknown authored
      Novell patches
      
      
      Makefile.am:
        Novell patch
      client/mysql.cc:
        Novell patch
      configure.in:
        Novell patch
      extra/mysql_waitpid.c:
        Novell patch
      include/my_pthread.h:
        Novell patch
      include/mysql.h:
        Novell patch
      libmysql/libmysql.c:
        Novell patch
      libmysqld/libmysqld.c:
        Novell patch
      mysql-test/mysql-test-run.sh:
        Don't use running server with --valgrind
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000004.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/std_data/words.dat:
        Added more words to make type_blob test relevant
      mysql-test/t/innodb.test:
        test of multi-table-delete
      mysql-test/t/rpl000001.test:
        Update for new word file
      mysql-test/t/type_blob.test:
        Test if BLOB IS NULL on NOT NULL column
      mysys/my_init.c:
        Novell patch
      mysys/my_netware.c:
        Novell patch
      netware/Makefile.am:
        Novell patch
      netware/init_db.sql:
        Novell patch
      netware/isamchk.def:
        Novell patch
      netware/isamlog.def:
        Novell patch
      netware/libmysql.def:
        Novell patch
      netware/my_print_defaults.def:
        Novell patch
      netware/myisamchk.def:
        Novell patch
      netware/myisamlog.def:
        Novell patch
      netware/myisampack.def:
        Novell patch
      netware/mysql.def:
        Novell patch
      netware/mysql_install_db.c:
        Novell patch
      netware/mysql_install_db.def:
        Novell patch
      netware/mysql_test_run.def:
        Novell patch
      netware/mysqladmin.def:
        Novell patch
      netware/mysqlbinlog.def:
        Novell patch
      netware/mysqlcheck.def:
        Novell patch
      netware/mysqld_safe.c:
        Novell patch
      netware/mysqldump.def:
        Novell patch
      netware/mysqlimport.def:
        Novell patch
      netware/mysqlshow.def:
        Novell patch
      netware/mysqltest.def:
        Novell patch
      netware/pack_isam.def:
        Novell patch
      netware/perror.def:
        Novell patch
      netware/replace.def:
        Novell patch
      netware/resolveip.def:
        Novell patch
      netware/test_db.sql:
        Novell patch
      scripts/make_binary_distribution.sh:
        Novell patch
      sql/item_cmpfunc.h:
        Optimization of 'IS NULL'
      sql/mysql_priv.h:
        Code cleanup
      sql/mysqld.cc:
        Novell patch
      sql/net_pkg.cc:
        Code cleanup
      sql/records.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_delete.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_handler.cc:
        Code cleanup
      sql/sql_table.cc:
        Code cleanup
      sql/structs.h:
        Fixed multi-table-delete for InnoDB tables
      300b3fb6
  27. 10 Feb, 2003 2 commits
    • unknown's avatar
      Move tmp_table_used to THD · 96273457
      unknown authored
      Optimize depending sub querys
      Remove valgrind warnings
      
      
      libmysqld/lib_sql.cc:
        Better way to reset errors
      mysql-test/mysql-test-run.sh:
        Remove wrong `
      mysql-test/r/subselect.result:
        Don't use table t1
      mysql-test/t/subselect.test:
        Don't use table t1
      sql/item.cc:
        Indentation fix
      sql/item.h:
        optimize depending sub querys
      sql/item_func.cc:
        Remove warning for uninitalized data
      sql/item_row.cc:
        Remove warning
      sql/item_strfunc.h:
        Fixed memory overrun
      sql/item_subselect.cc:
        Better debugging names
      sql/log_event.cc:
        Move tmp_table_used to THD
      sql/sql_base.cc:
        Move tmp_table_used to THD
      sql/sql_class.cc:
        Move tmp_table_used to THD
      sql/sql_class.h:
        Move tmp_table_used to THD
      sql/sql_lex.cc:
        Move tmp_table_used to THD
      sql/sql_lex.h:
        Move tmp_table_used to THD
      sql/sql_parse.cc:
        Move tmp_table_used to THD
      sql/sql_select.cc:
        optimize depending sub querys
      sql/sql_table.cc:
        Move tmp_table_used to THD
      96273457
    • unknown's avatar
      Better fix for count(distinct) bug · 03865c5f
      unknown authored
      include/my_sys.h:
        Remove compiler warning
      mysql-test/mysql-test-run.sh:
        Don't examine log files when you run with --extern
      03865c5f
  28. 28 Jan, 2003 1 commit
    • unknown's avatar
      Fixes for Netware · 84f81dc5
      unknown authored
      Call pthread_mutex_destroy() on not used mutex.
      Changed comments in .h and .c files from // -> /* */
      Added detection of mutex on which one didn't call pthread_mutex_destroy()
      Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
      Added optimisation for ORDER BY NULL
      
      
      BitKeeper/deleted/.del-ChangeLog~dfc92e15bee6fc75:
        Delete: sql/ChangeLog
      BUILD/compile-pentium-valgrind-max:
        Don't use valgrind with safemalloc as this can hide some bugs
      Makefile.am:
        Added platform dirs
      bdb/os/os_handle.c:
        Portability fix
      client/mysql.cc:
        Fixes for Netware.
        Fixed duplicate output when using 'tee'
        Simple optimisations
      client/mysqldump.c:
        Portability fix
      client/mysqltest.c:
        Portability fix
      configure.in:
        Fixes for Netware
      extra/resolveip.c:
        Fixes for Netware
      include/Makefile.am:
        Fixes for Netware
      include/config-win.h:
        Portability fix
      include/my_global.h:
        Fixes for Netware
      include/my_net.h:
        Fixes for Netware
      include/my_pthread.h:
        Fixes for Netware
        Added detection of mutexes that was not destroyed
      include/my_sys.h:
        Fixes for Netware
        Added 'extern' before external functions
      include/mysql.h:
        Fixes for Netware
      innobase/configure.in:
        Fixes for Netware
      innobase/include/os0thread.h:
        Fixes for Netware
      innobase/os/os0sync.c:
        Fixes for Netware
      innobase/os/os0thread.c:
        Fixes for Netware
      innobase/srv/srv0srv.c:
        Fixes for Netware
      innobase/srv/srv0start.c:
        Fixes for Netware
      innobase/sync/sync0sync.c:
        Fixes for Netware
      isam/test3.c:
        Disable test on Netware
      libmysql/Makefile.shared:
        Added my_sleep
      libmysql/get_password.c:
        Fixes for Netware
      libmysql/libmysql.c:
        Fixes for Netware
        Made mysql_once_init() global
      libmysql/manager.c:
        Fixes for Netware
      myisam/mi_test3.c:
        Disable test for netware
      mysql-test/mysql-test-run.sh:
        Give warning if output file contains errors
      mysql-test/r/count_distinct.result:
        More tests
      mysql-test/r/group_by.result:
        Test of ORDER BY NULL
      mysql-test/t/backup.test:
        Fixes for Netware
      mysql-test/t/count_distinct.test:
        More tests
      mysql-test/t/func_crypt.test:
        Fixes for Netware
      mysql-test/t/grant_cache.test:
        Fixes for Netware
      mysql-test/t/group_by.test:
        Tests of ORDER BY NULL
      mysql-test/t/rpl000015.test:
        Fixes for Netware
      mysql-test/t/rpl000017.test:
        Fixes for Netware
      mysql-test/t/rpl_rotate_logs.test:
        Fixes for Netware
      mysys/Makefile.am:
        Added my_sleep.c and my_netware.c
      mysys/charset.c:
        Fixes for Netware
      mysys/default.c:
        Fixes for Netware
      mysys/mf_tempfile.c:
        Fixes for Netware
      mysys/my_clock.c:
        Fixes for Netware
      mysys/my_copy.c:
        Fixes for Netware
      mysys/my_getwd.c:
        Changed function comment from // -> /* */
      mysys/my_init.c:
        Fixes for Netware
      mysys/my_lock.c:
        Fixes for Netware
      mysys/my_messnc.c:
        Fixes for Netware
      mysys/my_os2cond.c:
        Removed comment
      mysys/my_os2dirsrch.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2dirsrch.h:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2file64.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2mutex.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2thread.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2tls.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_pthread.c:
        Fixes for Netware
      mysys/my_redel.c:
        Fixes for Netware
      mysys/my_tempnam.c:
        Fixes for Netware
      mysys/my_thr_init.c:
        Remove created mutexes when program ends.
      mysys/mysys_priv.h:
        Cleanup
      mysys/safemalloc.c:
        Prefix error messages with "Error:"
      mysys/thr_alarm.c:
        Destroy internal mutex on end_thr_alarm.
      mysys/thr_mutex.c:
        Added detection of mutex on which one didn't call pthread_mutex_destroy()
      scripts/make_binary_distribution.sh:
        Fixes for Netware
      sql/des_key_file.cc:
        Free mutex at end
      sql/ha_innodb.cc:
        Free mutex at end
      sql/ha_myisam.cc:
        Changed warnings from REPAIR Note:
        (For mysql-test-run)
      sql/hostname.cc:
        Fixes for Netware
      sql/item.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/item_func.cc:
        Free used mutexes
      sql/item_sum.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/log.cc:
        Free used mutexes
      sql/my_lock.c:
        Fixes for Netware
      sql/mysql_priv.h:
        Fixes for Netware
      sql/mysqld.cc:
        Fixes for Netware
        Added Have_crypt
        Properly free mutexes from MYSQL_LOG by calling cleanup
        Free mutex before exit
      sql/repl_failsafe.cc:
        Fixes for Netware
      sql/set_var.cc:
        Added have_crypt
      sql/share/english/errmsg.txt:
        Added version socket and port to stderr log
      sql/slave.cc:
        Remove global MASTER_INFO variable and use instead an allocated variable.
        This allows us to correctly free used mutex.
      sql/slave.h:
        Move constructors and destuctors to slave.cc
        (To make it easier to clear all needed variables)
      sql/sql_base.cc:
        Safety fix
      sql/sql_class.h:
        Portability fixes.
        Added 'cleanup' to log handling to be able to free mutexes.
      sql/sql_insert.cc:
        Fixes for Netware
      mysys/my_sleep.c:
        E
      sql/sql_parse.cc:
        Fixes for Netware
      sql/sql_select.cc:
        Added optimisation for ORDER BY NULL
      sql/sql_select.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_table.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_udf.cc:
        Free mutex on end
      vio/test-ssl.c:
        Simple code cleanup
      vio/test-sslclient.c:
        Simple code cleanup
      vio/test-sslserver.c:
        Simple code cleanup
      vio/viotest-ssl.c:
        Simple code cleanup
      84f81dc5
  29. 09 Jan, 2003 1 commit
    • unknown's avatar
      Portability fix · afbd3fc5
      unknown authored
      BUILD/compile-alpha-cxx:
        Don't do depend files with Compaq compiler
      configure.in:
        Don't do depend files with Compaq compiler
      extra/mysql_waitpid.c:
        Portability fixes
      mysql-test/mysql-test-run.sh:
        Better timeout for valgrind
      afbd3fc5
  30. 07 Jan, 2003 1 commit
    • unknown's avatar
      Portability fixes · b3b66f64
      unknown authored
      Fixed test suite for HPUX 10.20 and MacOSX
      
      
      Build-tools/Do-compile:
        Added timeout to mysqladmin shutdown commands
        Kill old running mysqld started by earlier runs
        Removed run time warning from LD_LIBRARY_PATH
      client/mysqladmin.c:
        Return 1 if pid file isn't deleted on shutdown.
        Fix error message if pid file is not deleted
      client/mysqltest.c:
        Always allow --debug flag
        (Makes it easier to run mysql-test-run)
      mysql-test/mysql-test-run.sh:
        A lot of safety fixes. 
        This fixes some problems with test suite for HPUX 10.20 and MacOSX
      sql-bench/bench-init.pl.sh:
        Allow tests to change time limit.
      sql-bench/crash-me.sh:
        Indentation cleanups
        Added DROP for a created table
      sql-bench/test-alter-table.sh:
        Added default time limit
        Changed test to be estimated to get down run time.
        Fixed that add_multi_col is detected
      sql-bench/test-insert.sh:
        Comment cleanup
      sql/mysql_priv.h:
        Removed not needed prototype.
      sql/mysqld.cc:
        Removed DBUG warnings
        Removed default argument for clean_up() and made it static.
        More comments.
        Ignore SIGHUP during shutdown
      sql/net_pkg.cc:
        More comments
      sql/slave.cc:
        Added DBUG_PRINT messages
      b3b66f64
  31. 25 Dec, 2002 1 commit
  32. 06 Dec, 2002 1 commit
  33. 05 Dec, 2002 1 commit
    • unknown's avatar
      Removed copying of parameters as this leads to memory leaks in embedded server. · 591b0585
      unknown authored
      Fixed 'not initialized' memory error.
      
      
      mysql-test/mysql-test-run.sh:
        Updates to be able to more easily use --valgrind
      mysql-test/r/alter_table.result:
        Added missing drop table
      mysql-test/t/alter_table.test:
        Added missing drop table
      sql/field.cc:
        Simple optimizations
      sql/ha_innodb.cc:
        Remove copying of parameters as this leads to memory leaks in MySQL.
        Should be instead fixed by, in embedded server, make a temporary copy of
        all parameters and free them on server-end
      sql/log.cc:
        Simple optimization
      sql/mysql_priv.h:
        Move external reference to struct to include file
      sql/mysqld.cc:
        Added safety asserts
      sql/sql_class.cc:
        Fixed non fatal 'not initialized memory reference error' in thread init
      sql/sql_udf.cc:
        Clear current_thd for global thread
      strings/strto.c:
        Simple optimization
      591b0585
  34. 02 Dec, 2002 1 commit
    • unknown's avatar
      Fixed bug when creating keys in temporary HEAP tables. · 59dec1bc
      unknown authored
      (This caused the DISTINCT test to fail)
      Removed one inline as this caused compiler problems
      
      
      heap/hp_create.c:
        Comment
      heap/hp_update.c:
        Indentation cleanup
      heap/hp_write.c:
        Indentation cleanup
      mysql-test/mysql-test-run.sh:
        Better options for valgrind
      sql/item_sum.cc:
        Removed inline as this caused compiler problems with gcc 3.2
        (Was also non standard usage of inline)
      sql/item_sum.h:
        Removed inline as this caused compiler problems with gcc 3.2
      sql/sql_class.cc:
        Fixed reference to uninitialized value
      sql/sql_lex.cc:
        Indentation cleanup
      sql/sql_select.cc:
        Fixed bug when creating keys in temporary HEAP tables.
      59dec1bc
  35. 22 Nov, 2002 1 commit
    • unknown's avatar
      Fixed bug with indexed NULL column <=> NULL · cb5a2b2f
      unknown authored
      Fix for Mac OS X shutdown
      
      
      mysql-test/mysql-test-run.sh:
        Log client error messages
      mysql-test/r/null_key.result:
        Test for bug in <=> NULL
      mysql-test/t/null_key.test:
        Test for bug in <=> NULL
      sql/mysqld.cc:
        Fix for Mac OS X shutdown
      sql/opt_range.cc:
        Fixed bug with indexed NULL column <=> NULL
      cb5a2b2f