An error occurred fetching the project authors.
  1. 14 Aug, 2004 1 commit
    • unknown's avatar
      mysql_priv.h: · 767d880f
      unknown authored
        Added declarations for print_msg_to_log and vprint_msg_to_log.  sql_print_error are simple functions that wrap calls to print_msg_to_log.  Define the different error types with MY_ERROR_TYPE, MY_WARNING_TYPE, and MY_INFORMATION_TYPE
      gen_lex_hash.cc:
        Added NULL error reporting parameter to handle_options
      log.cc:
        Add print_msg_to_log, print_buffer_to_log, and vprint_msg_to_log.  Print_msg_to_log will write the message to the windows event log if on NT.  We now have error, warning, and information versions of sql_print_xxxx.  T his is a variation of a similar changeset WAX did.
      mysqld.cc:
        Added option_error_reporter callback function and pass that into handle_options
      mysql.cc:
        Added NULL as error reporter arg to the end of handle_options
      Many files:
        Added NULL error reporter parameter as the last paramter to handle_options
      my_getopt.c:
        Added second function pointer to server as an error reporting callback.  Added local function report_option_error that will either write the error to stderr or to the error reporting callback.  changed all calls in handle_options from fprintf(stderr, ... ) to report_option_error
      my_getopt.h:
        Changed declaration of handle_options to use typedefs for the two function pointers.  added second function pointer to server as an error reporting callback
      mysqld.dsp:
        Added custom build step for compiling message file and added message resource file (output of mc)
      
      
      VC++Files/sql/mysqld.dsp:
        Added custom build step for compiling message file and added message resource file (output of mc)
      client/mysqladmin.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlcheck.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqldump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlimport.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlmanager-pwgen.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlmanagerc.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlbinlog.cc:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlshow.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqltest.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/my_print_defaults.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/mysql_install.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/mysql_waitpid.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/perror.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/resolve_stack_dump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/resolveip.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      isam/isamchk.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      isam/pack_isam.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/mi_test1.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisam_ftdump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisamchk.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisampack.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      include/my_getopt.h:
        Changed declaration of handle_options to use typedefs for the two function pointers.  added second function pointer to server as an error reporting callback
      mysys/my_getopt.c:
        Added second function pointer to server as an error reporting callback.  Added local function report_option_error that will either write the error to stderr or to the error reporting callback.  changed all calls in handle_options from fprintf(stderr, ... ) to report_option_error
      tools/mysqlmanager.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysql.cc:
        Added NULL as error reporter arg to the end of handle_options
      sql/mysqld.cc:
        Added option_error_reporter callback function and pass that into handle_options
      sql/log.cc:
        Add print_msg_to_log, print_buffer_to_log, and vprint_msg_to_log.  Print_msg_to_log will write the message to the windows event log if on NT.  We now have error, warning, and information versions of sql_print_xxxx.  T his is a variation of a similar changeset WAX did.
      sql/gen_lex_hash.cc:
        Added NULL error reporting parameter to handle_options
      sql/mysql_priv.h:
        Added declarations for print_msg_to_log and vprint_msg_to_log.  sql_print_error are simple functions that wrap calls to print_msg_to_log.  Define the different error types with MY_ERROR_TYPE, MY_WARNING_TYPE, and MY_INFORMATION_TYPE
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      767d880f
  2. 02 Jul, 2004 1 commit
    • unknown's avatar
      Fixing a bug in mysqltest.c: · b30cd30a
      unknown authored
      if a command has a comment at the end of line, like:
      error 2002 ; # this is error 2002
      then the parsing of comment should not make mysqltest
      forget about the value of expected error.
      Reason it forgot it (so the next query caused the test to fail)
      is that internally the above line is 2 queries.
      
      
      
      client/mysqltest.c:
        if a command has a comment at the end of line, like:
        error 2002 ; # this is error 2002
        then the parsing of comment should not make mysqltest
        forget about the value of expected error.
      b30cd30a
  3. 11 Jun, 2004 1 commit
  4. 01 Jun, 2004 1 commit
  5. 25 May, 2004 1 commit
    • unknown's avatar
      Added patches from Novell · b3851363
      unknown authored
      Build-tools/Do-compile:
        Fixed indentation
      configure.in:
        Added patches from Novell
        Added C_EXTRA_FLAGS as an easy way to pass flags to both CFLAGS and CXXFLAGS
      extra/perror.c:
        Fixed error number reporting to not report 'Unknown error'
      include/my_global.h:
        Defines to make NETWARE patches cleaner
      include/thr_alarm.h:
        Fixed wrong macro
      netware/mysql_install_db.c:
        Indentation fix
      b3851363
  6. 14 May, 2004 1 commit
    • unknown's avatar
      Replication testsuite: making the master-slave synchronization less likely to fail, · 028a672f
      unknown authored
      by adding sleep-and-retries (max 4 times) if MASTER_POS_WAIT() returns NULL
      in sync_with_master and sync_slave_with_master.
      The problem showed up only today, in MySQL 5.0 in rpl_server_id2.test,
      but may affect 4.x as well, so fixing it here. Note that I am also fixing
      5.0 too, with the same exact patch, because I don't want to leave 5.0 broken
      until the next 4.0->4.1->5.0 merge.
      
      
      client/mysqltest.c:
        in sync_with_master (and sync_slave_with_master), if MASTER_POS_WAIT() returns NULL,
        it may be that the slave SQL thread did not have time to start yes, so we sleep
        1 sec and retry, 4 times at most.
      mysql-test/r/rpl_server_id2.result:
        result update
      mysql-test/t/rpl_server_id2.test:
        master_slave.inc already drops the table
      028a672f
  7. 19 Mar, 2004 1 commit
    • unknown's avatar
      Portability fixes · 9935110b
      unknown authored
      Removed \r from new tests
      Fixes to get new sustem_mysql_db... tests to work
      
      
      client/mysqltest.c:
        More debug information
      innobase/que/que0que.c:
        Fixed wrong usage of __attribute
      mysql-test/mysql-test-run.sh:
        Portability fix; Added CLIENT_BINDIR
      mysql-test/t/system_mysql_db_fix.test:
        Removed \r
      mysql-test/t/system_mysql_db_refs.test:
        Removed \r
      scripts/mysql_fix_privilege_tables.sh:
        Don't set root password from first option
        Added --bindir option
      9935110b
  8. 10 Mar, 2004 1 commit
    • unknown's avatar
      fixed BUG #2874 "Grant table bug" and · 2053f8f8
      unknown authored
      added tests for testing structure of mysql db
      
      
      client/mysqltest.c:
        extend "replace" to column names
        extend "disable_result_log" to output of --exec commad
      mysql-test/install_test_db.sh:
        corrected wrong column definitions (as a result of tests)
      mysql-test/mysql-test-run.sh:
        export MYSQL and MYSQL_FIX_SYSTEM_TABLES + 
        added option --result-file for *.opt files
      scripts/mysql_fix_privilege_tables.sh:
        added new options to using in tests + 
        added new alters (as a result of new tests)
      scripts/mysql_fix_privilege_tables.sql:
        added new alters (as a result of new tests)
      scripts/mysql_install_db.sh:
        corrected definition of tables_priv.Table_name
      2053f8f8
  9. 26 Feb, 2004 1 commit
    • unknown's avatar
      fix for bug #2905 - · cae2503b
      unknown authored
      "mysqladmin.c & co fail to use MYSQL_PORT as the default value of the TCP/IP port"
      
      
      client/mysqladmin.c:
        changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
      client/mysqltest.c:
        changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
      client/thread_test.c:
        changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      cae2503b
  10. 30 Dec, 2003 1 commit
    • unknown's avatar
      Some small portability fixes. · 376fb080
      unknown authored
      Added support for lower_case_table_names=2, which is to be used on case insensitive file systems.
      This tells MySQL to preserve the used case of filenames and database names to make it esier to move files between cases sensitive can case insensitive file systems (like Windows and Linux)
      
      
      client/mysqltest.c:
        Indentation cleanup
      include/myisam.h:
        Made some pointers 'const'
      mysql-test/mysql-test-run.sh:
        Portability fix for OSX
      sql/filesort.cc:
        Safety fix (not needed for current code but needed for 5.0)
      sql/ha_berkeley.cc:
        More debugging
        Changed 'create' to return error number
      sql/ha_berkeley.h:
        Added HA_FILE_BASED
      sql/ha_innodb.cc:
        Added missing DBUG_RETURN
      sql/ha_isam.cc:
        Changed create to return error number
      sql/ha_isam.h:
        Added HA_FILE_BASED
      sql/ha_isammrg.h:
        Added HA_FILE_BASED
      sql/ha_myisam.cc:
        Changed create to return error number
      sql/ha_myisam.h:
        Added HA_FILE_BASED
      sql/ha_myisammrg.cc:
        Changed create to return error number
      sql/ha_myisammrg.h:
        Added HA_FILE_BASED
      sql/handler.cc:
        Ensure that table engines gets table names in lower case even if we are using lower_case_table_names
        Removed test for DB_TYPE_INNODB by ensuring that create method returns error number.
      sql/handler.h:
        Added HA_FILE_BASED
        Made some struct entries 'const'
        Added 'alias' for create to be able to create tables in mixed case on case insensitive file systems
      sql/mysql_priv.h:
        Support for lower_case_table_names=2
      sql/mysqld.cc:
        Support for lower_case_table_names=2
        Moved test of case insenstive file system after all mutex are created
      sql/set_var.cc:
        Support for lower_case_table_names=2
      sql/sql_class.h:
        Indentation change
      sql/sql_db.cc:
        Support for lower_case_table_names=2
      sql/sql_insert.cc:
        Indentation change
      sql/sql_parse.cc:
        Support for lower_case_table_names=2
      sql/sql_rename.cc:
        Support for lower_case_table_names=2
        Added missing 'unpack_filename' to RENAME which may fix a bug in RENAME TABLE on windows
      sql/sql_show.cc:
        If lower_case_table_name=2 is given, show original case in SHOW CREATE TABLE
      sql/sql_table.cc:
        Support for lower_case_table_names=2 for DROP TABLE, RENAME TABLE, ALTER TABLE and CREATE TABLE
      376fb080
  11. 16 Dec, 2003 1 commit
    • unknown's avatar
      Portability fixes (mostly test suite) · 3357bc7e
      unknown authored
      Make ENGINE= an alias for TYPE= (Compabiltiy with 4.1)
      Fix when using symlinked data files and realpath() is not working
      
      
      client/mysqltest.c:
        Copied mysqltest from 4.1 and modified this to compile in 4.0
        This was needed to get replace_columns to work.
      include/my_sys.h:
        Stop compiler warnings about alloca on freebsd
      myisam/mi_check.c:
        Fix when using symlinked data files and realpath() is not working
      mysql-test/r/handler.result:
        test engine=
      mysql-test/r/rpl_max_relay_size.result:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/r/rpl_rotate_logs.result:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/r/rpl_trunc_binlog.result:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/handler.test:
        test engine=
      mysql-test/t/rpl_log_pos.test:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/rpl_max_relay_size.test:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/rpl_rotate_logs.test:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/rpl_trunc_binlog.test:
        Use replace_columns to replace some 'not constant' columns
      mysys/my_symlink.c:
        More debugging
      sql/lex.h:
        Make ENGINE= an alias for TYPE=
      sql/mysqld.cc:
        Code cleanup
      strings/strto.c:
        Fix for True64
      strings/strtoll.c:
        Fix for True64
      strings/strtoull.c:
        Remove not needed include file
      3357bc7e
  12. 09 Dec, 2003 1 commit
    • unknown's avatar
      Added checking of return value from my_once_alloc() in charset · 6b97c26a
      unknown authored
      Added checking of return value from malloc() in reg_init()
      
      
      client/mysqltest.c:
        Added comment
      dbug/dbug.c:
        Removed not needed test
      mysys/charset.c:
        Added checking of return value from my_once_alloc()
      regex/reginit.c:
        Abort if out of memory in reg_init() (unlikely)
      sql/item_strfunc.cc:
        Added comment
      6b97c26a
  13. 29 Sep, 2003 2 commits
    • 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
      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
  14. 24 Sep, 2003 1 commit
  15. 28 Aug, 2003 1 commit
    • unknown's avatar
      Portability fixes · 6fd5403d
      unknown authored
      client/mysqltest.c:
        Removed not used functions
      myisam/mi_dynrec.c:
        Added assert to avoid compilation errors
      mysql-test/r/isam.result:
        Updated results after merge
      sql/log_event.cc:
        Cleanup
      sql/mysql_priv.h:
        Cleanup
      sql/sql_class.cc:
        Moved Table_ident functions to .cc file to allow them to use table_case_convert()
      sql/sql_class.h:
        Moved Table_ident functions to .cc file to allow them to use table_case_convert()
      6fd5403d
  16. 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
  17. 20 Aug, 2003 1 commit
  18. 16 Jun, 2003 1 commit
    • unknown's avatar
      Fix for nightly build test failure (test update). · 366fd92e
      unknown authored
      More messages.
      Testcase for bug 651.
      
      
      client/mysqltest.c:
        More explicit error message if MASTER_POS_WAIT() returns NULL.
      mysql-test/r/rpl_loaddata.result:
        result update
      mysql-test/r/rpl_master_pos_wait.result:
        result update
      mysql-test/t/rpl000001.test:
        sync_with_master (=MASTER_POS_WAIT()) was called when we could expect the SQL slave thread had stopped.
        As I yesterday changed code so that "SQL thread stops => MASTER_POS_WAIT() returns NULL immediately" (bugfix),
        sync_with_master received NULL (on build.mysql.com, not on my machine; this is a question of milliseconds,
        if the slave server will process MASTER_POS_WAIT() before or after the slave SQL thread has stopped), and
        in mysqltest.c, sync_with_master complained that it could not sync.
        So I just remove this sync_with_master, which does not make sense anymore: we just wait for the slave SQL
        thread to stop.
      mysql-test/t/rpl_loaddata.test:
        Discovered we had wait_for_slave_to_stop, so used it as it automates things.
      mysql-test/t/rpl_master_pos_wait.test:
        Discovered we had 'send' to send a query without waiting for the resultn so could had a testcase for bug 651.
        Shorter timeouts as there is no risk the position is reached.
      sql/slave.cc:
        A longer DBUG_PRINT.
      366fd92e
  19. 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
  20. 11 Mar, 2003 1 commit
    • 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. 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
  22. 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
  23. 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
  24. 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
  25. 27 Dec, 2002 1 commit
  26. 29 Oct, 2002 1 commit
    • unknown's avatar
      Added --skip-safemalloc to mysqltest · 31ba88c0
      unknown authored
      Added bug fix from 3.23 for AIX 4.3.3 and gcc 3.x
      Small change in EXCHANGE output
      Propagate open-files-limit from mysqld_safe -> mysqld
      Fixed speed bug in GROUP BY
      Added quotes around database name in CREATE DATABASE db_name (for binary log)
      
      
      BitKeeper/etc/ignore:
        added stamp-h1
      Docs/manual.texi:
        Added 4.1 manual section
        Updated changelog
      client/mysqltest.c:
        Added --skip-safemalloc
      include/my_global.h:
        Added bug fix from 3.23 for AIX 4.3.3 and gcc 3.x
      mysql-test/mysql-test-run.sh:
        Start mysqltest with --skip-safemalloc (To get it faster)
      mysql-test/r/bdb.result:
        Update for new EXPLAIN output
      mysql-test/r/compare.result:
        Update for new EXPLAIN output
      mysql-test/r/create.result:
        Update for new EXPLAIN output
      mysql-test/r/distinct.result:
        Update for new EXPLAIN output
      mysql-test/r/explain.result:
        Update for new EXPLAIN output
      mysql-test/r/group_by.result:
        Update for new EXPLAIN output
      mysql-test/r/heap.result:
        Update for new EXPLAIN output
      mysql-test/r/innodb.result:
        Update for new EXPLAIN output
      mysql-test/r/join_outer.result:
        Update for new EXPLAIN output
      mysql-test/r/key_diff.result:
        Update for new EXPLAIN output
      mysql-test/r/merge.result:
        Update for new EXPLAIN output
      mysql-test/r/null_key.result:
        Update for new EXPLAIN output
      mysql-test/r/order_by.result:
        Update for new EXPLAIN output
      mysql-test/r/select.result:
        Update for new EXPLAIN output
      mysql-test/r/temp_table.result:
        Fixed speed bug in GROUP BY
      mysql-test/r/type_datetime.result:
        Update for new EXPLAIN output
      mysql-test/r/user_var.result:
        Update for new EXPLAIN output
      mysql-test/r/variables.result:
        Removed variable safe_show_database
      mysql-test/t/temp_table.test:
        Fixed speed bug in GROUP BY
      mysql-test/t/variables.test:
        Removed not used variable safe_show_databases
      scripts/mysqld_safe.sh:
        Propagate open-files-limit from mysqld_safe -> mysqld
      sql/mysqld.cc:
        Removed variable safe_show_database
      sql/set_var.cc:
        Removed variable safe_show_database
      sql/slave.cc:
        Updated error message
      sql/sql_db.cc:
        Added quotes around database name in CREATE DATABASE db_name
      sql/sql_select.cc:
        Fixed speed bug in GROUP BY
      31ba88c0
  27. 11 Sep, 2002 1 commit
    • unknown's avatar
      Portability fixes. · 8f232cb7
      unknown authored
      Improve mysql-test to be more robust.
      Fix that GRANT doesn't delete SSL options
      Change innobase_flush_log_at_trx_commit to uint.
      Don't rotate logs if we read a rotate log entry from the master.
      
      
      Docs/manual.texi:
        Changelog
      client/mysqlbinlog.cc:
        Handle empty binlogfiles gracefully
      client/mysqltest.c:
        Do a sleep after 'sync_with_master'
        Cleaned up sleep() handling.
        Free all memory on exit
      configure.in:
        Fix for Mac OS 10.2
      include/my_sys.h:
        Added my_strdup_with_length()
      innobase/btr/btr0cur.c:
        Fixed wrong printf()
      libmysql/libmysql.c:
        Added DBUG_PRINT statements.
        Assume that mysql_...send() functions has correct query length.
      mysql-test/mysql-test-run.sh:
        Properly remove log files before starting new tests.
      mysql-test/r/grant.result:
        Update for new test results
      mysql-test/r/innodb.result:
        Update for new test results
      mysql-test/r/myisam.result:
        Update for new test results
      mysql-test/r/rpl_log.result:
        Update for new test results
      mysql-test/r/rpl_rotate_logs.result:
        Update for new test results
      mysql-test/r/variables.result:
        Update for new test results
      mysql-test/t/grant.test:
        Test that GRANT doesn't delete SSL options
      mysql-test/t/myisam.test:
        Test long key usage
      mysql-test/t/rpl_log.test:
        Disable 'show new master'
      mysql-test/t/rpl_mystery22.test:
        Longer sleep for more safety.
      mysql-test/t/rpl_rotate_logs.test:
        More comments
      mysys/my_malloc.c:
        Added my_strdup_with_length()
      mysys/safemalloc.c:
        Added my_strdup_with_length()
      mysys/thr_alarm.c:
        Fix of alarms for windows.
      sql/ha_innodb.cc:
        Change innobase_flush_log_at_trx_commit to uint
      mysql-test/r/rpl_redirect.result:
        Updated test results
      mysql-test/t/rpl_redirect.test:
        Added more tests to improve code coverage.
      sql/ha_innodb.h:
        Change innobase_flush_log_at_trx_commit to uint
      sql/item_func.cc:
        Return GLOBAL and SESSION as part of column names
      sql/log.cc:
        Only write STOP events when server goes down.
      sql/log_event.cc:
        Don't rotate logs if we read a rotate log entry from the master.
      sql/log_event.h:
        Change ident_len to uint (more efficient)
      sql/mysqld.cc:
        Change innobase_flush_log_at_trx_commit to uint
      sql/net_serv.cc:
        More debug output
      sql/repl_failsafe.cc:
        More DEBUG
        Search until we find next position in binary log (and not only =)
      sql/slave.cc:
        More DBUG & comments
        Don't rotate the binary log on master flush logs
      sql/slave.h:
        indentation change
      sql/sql_acl.cc:
        Test that GRANT doesn't delete SSL options
      sql/sql_parse.cc:
        Disable show_new_master.
      sql/sql_repl.cc:
        Chamger show_binlog_events() to use my_error()
      sql/sql_table.cc:
        Fixed check for too long keys in MyISAM
      sql/sql_udf.cc:
        Fix udf handling
      8f232cb7
  28. 29 Aug, 2002 1 commit
    • unknown's avatar
      Added sync_slave_with_master [connection]. · 74997a9e
      unknown authored
      Equivalent to:
      save_master_pos; connection slave; sync_with_master;
      
      
      client/mysqltest.c:
        Added sync_slave_with_master to mysqltest
        Accepts 1 optional argument: the slave connection name
        Default connection name is 'slave'.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      74997a9e
  29. 24 Aug, 2002 1 commit
    • unknown's avatar
      Give better error from reconnect() · 02f8c163
      unknown authored
      Fixed hang in start_slave_threads() when thread dies quickly.
      
      
      Docs/manual.texi:
        Changelog
      client/mysqltest.c:
        Indentation cleanup
        More DBUG info
      libmysql/libmysql.c:
        More DBUG info
        Give better error from reconnect()
      mysql-test/r/rpl_rotate_logs.result:
        Update results
      mysql-test/t/rpl_log_pos.test:
        Fix for fast machines
      mysql-test/t/rpl_rotate_logs.test:
        Updated test to be more portable
      scripts/mysql_zap.sh:
        Update for MacOSX
      sql/mini_client.cc:
        Better error messages from reconnect.
        Indentation cleanups
      sql/slave.cc:
        Fixed hang in start_slave_threads() when thread dies quickly.
      sql/slave.h:
        Fixed hang in start_slave_threads() when thread dies quickly.
      02f8c163
  30. 18 Aug, 2002 1 commit
    • unknown's avatar
      Fixed timing problem with rpl000001 replication test. · 457172d9
      unknown authored
      Fixed configure problems with HPUX and openbsd
      SHOW SLAVE STATUS returns empty set if slave is not initialized
      SHOW MASTER STATUS returns empty set if binary logging is not enabled.
      Fixed shutdown problem on Solaris.
      
      
      BitKeeper/deleted/.del-set_var.cc~5374527de1955359:
        Delete: libmysqld/set_var.cc
      BitKeeper/etc/ignore:
        added libmysqld/set_var.cc
      Build-tools/Do-compile:
        Remove warnings from touch during compilation
      Docs/manual.texi:
        Changelog
      client/mysqltest.c:
        Added real_sleep command
      configure.in:
        Fixed type for HPUX10
      innobase/configure.in:
        Fixed type for openbsd
      libmysql/libmysql.c:
        Fix for new SHOW SLAVE STATUS
      myisam/mi_update.c:
        Update key file if using external locking
      mysql-test/mysql-test-run.sh:
        Safety fix
      mysql-test/r/rpl000015.result:
        Update for new SHOW SLAVE STATUS
      mysql-test/r/rpl_empty_master_crash.result:
        Update for new SHOW SLAVE STATUS
      mysql-test/t/rpl000001.test:
        sleep -> real_sleep to avoid timing problem
      sql/mysqld.cc:
        Fixed bug with SIGTERM on Solaris
      sql/slave.cc:
        SHOW SLAVE STATUS returns empty sets if slave is not initialized.
      sql/sql_repl.cc:
        SHOW MASTER STAT returns empty set if no binary logging.
      457172d9
  31. 08 Aug, 2002 1 commit
    • unknown's avatar
      Lots of code fixes to the replication code (especially the binary logging and... · f01f4991
      unknown authored
      Lots of code fixes to the replication code (especially the binary logging and index log file handling)
      Fixed bugs in my last changeset that made MySQL hard to compile.
      Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
      Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
      Extended my_chsize() to allow one to specify a filler character.
      Extend vio_blocking to return the old state (This made some usage of this function much simpler)
      Added testing for some functions that they caller have got the required mutexes before calling the function.
      Use setrlimit() to ensure that we can write core file if one specifies --core-file.
      Added --slave-compressed-protocol
      Made 2 the minimum length for ft_min_word_len
      Added variables foreign_key_checks & unique_checks.
      Less logging from replication code (if not started with --log-warnings)
      Changed that SHOW INNODB STATUS requre the SUPER privilege
      More DBUG statements and a lot of new code comments
      
      
      BitKeeper/deleted/.del-rpl_compat.result~c950bc346b12c61a:
        Delete: mysql-test/r/rpl_compat.result
      BitKeeper/deleted/.del-rpl_compat.test~5f6ba955e02aa95f:
        Delete: mysql-test/t/rpl_compat.test
      Docs/manual.texi:
        Updated manual with fixes in this changeset
      client/mysqltest.c:
        Indentation cleanup
        Better error messages for some error conditions.
      include/my_pthread.h:
        Added 'safe_mutex_assert_owner()' to check that the thread really owns the mutex.
      include/my_sys.h:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      include/raid.h:
        New my_chsize()
      include/violite.h:
        Extend vio_blocking to return the old state
      innobase/include/dyn0dyn.h:
        Merge with 3.23 (AIX DYN_ARRAY_DATA_SIZE)
      innobase/include/dyn0dyn.ic:
        Merge with 3.23
      isam/create.c:
        Fix for new my_chsize()
      isam/isamchk.c:
        Fix for new my_chsize()
      isam/pack_isam.c:
        Fix for new my_chsize()
      libmysql/manager.c:
        Fix for new vio_blocking()
      libmysqld/lib_sql.cc:
        Fix for new open_log()
      myisam/mi_cache.c:
        Fix typo from previous checking
      myisam/mi_check.c:
        Fix for new my_chsize()
      myisam/mi_create.c:
        Fix for new my_chsize()
      myisam/mi_delete_all.c:
        Fix for new my_chsize()
      myisam/myisampack.c:
        Fix for new my_chsize()
      mysql-test/include/master-slave.inc:
        Better initialization for replication tests
      mysql-test/mysql-test-run.sh:
        Added option --log-warnings
      mysql-test/r/insert.result:
        More tests if INSERT ...(DEFAULT)
      mysql-test/r/rpl000001.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000002.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000003.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000004.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000005.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000006.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000007.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000008.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000009.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000010.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000011.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000012.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000013.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000014.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_alter.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_empty_master_crash.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_get_lock.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_log.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_magic.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_mystery22.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_skip_error.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_sporadic_master.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/insert.test:
        More tests if INSERT ...(DEFAULT)
      mysql-test/t/rpl000001.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000002.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000003.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000004.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000005.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000006.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000007.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000009.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000011.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000013.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000014.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_alter.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_empty_master_crash.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_get_lock.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_magic.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_mystery22.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_skip_error.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_sporadic_master.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysys/mf_iocache.c:
        More debug info
        Force seek after reinit_io_cache()
      mysys/mf_iocache2.c:
        Added my_b_filelength()
      mysys/my_chsize.c:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      mysys/raid.cc:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      sql/field.h:
        Fix for INSERT ... (DEFAULT)
      sql/ha_berkeley.h:
        Fix for dynamic variables
      sql/ha_innodb.cc:
        Change sprintf() to my_sprintf() to make code portable.
        Fix after sync with 3.23
        (We still need to fix the storage of the replication position in innodb)
      sql/ha_innodb.h:
        Fix for dynamic variables
      sql/handler.cc:
        Remove writting of COMMIT to the binary log.
        (Now done in MYSQL_LOG::write())
      sql/item_func.cc:
        Query_log_event() now always takes query length.
      sql/item_func.h:
        Indentation cleanup
      sql/item_strfunc.h:
        Indentation cleanup
      sql/item_timefunc.h:
        Indentation cleanup
      sql/lock.cc:
        Check that we own critical mutexes.
      sql/log.cc:
        Big code cleanup / rewrite / optimize.
        - The index log file has its own IO_CACHE object.
        - Many functions totally rewritten to make them smaller and faster.
        - New handling of index log files
        - Lots of new comments
      sql/log_event.cc:
        Code cleanup
        New comments
      sql/log_event.h:
        Query_log_event() now always takes query length.
      sql/mini_client.cc:
        Better error messages on reconnect.
        Fixed wrong variable usage from last commit.
      sql/mysql_priv.h:
        New arguments to open_log()
      sql/mysqld.cc:
        Use setrlimit() to ensure that we can write core file if one specifies --core-file
        Added index file name as parameter to openlog().
        Added --slave-compressed-protocol
        Made 2 the minimum length for ft_min_word_len
      sql/net_serv.cc:
        Use new vio_blocking()
        (The vio_blocking() change was done to make this code more readable)
      sql/repl_failsafe.cc:
        Minor code cleanup
      sql/set_var.cc:
        Added variables slave_compressed_protocol, foreign_key_checks & unique_checks.
      sql/set_var.h:
        Generalization
      sql/slave.cc:
        Code cleanup & rewrite.
        Dont call SELECT VERSION() on check_master_version()
        New init_slave() code.
        Ensure that all threads create a THD early.
        Add locks around manipulation of critical structures
        Don't retry a command more than master_retry_count times.
        Write less warnings to the log file (if not started with --log-warnings)
        Faster flush_relay_log_info()
      sql/slave.h:
        More comments
        Added new arguments to some functions.
      sql/sql_acl.cc:
        More DBUG info
        New parameter to Query_log_event()
      sql/sql_base.cc:
        Added some mutex checking.
      sql/sql_cache.cc:
        Less not critical debug info
      sql/sql_class.h:
        Fix for new log handling.
      sql/sql_db.cc:
        Added mutex around remove_db_from_cache()
      sql/sql_delete.cc:
        Added missing parameters to changed functions
      sql/sql_insert.cc:
        Added missing parameters to changed functions
      sql/sql_parse.cc:
        Do an 'end_active_trans()' before 'load_master_data'
        Changed that SHOW INNODB STATUS requre the SUPER privilege
        Added new function parameters to new functions
      sql/sql_rename.cc:
        Added missing parameters to changed functions
      sql/sql_repl.cc:
        Code cleanups / new comments
        Fix for new find_first_log() calling standard.
        More DBUG statements.
        Show binlogs updated to use new IO_CACHE:d index log file.
      sql/sql_repl.h:
        New function arguments
      sql/sql_select.cc:
        Indentation changes
      sql/sql_table.cc:
        Added missing parameters to changed functions
        Added checking of mutex
        Added mutex around critical regions.
      sql/sql_test.cc:
        Don't use THR_ALARM if the configuration doesn't support it.
      sql/sql_update.cc:
        Added missing parameters to changed functions
      sql/table.cc:
        Added missing parameters to changed functions
      vio/vio.c:
        Extend vio_blocking to return the old state
      vio/viosocket.c:
        Extend vio_blocking to return the old state
      vio/viossl.c:
        Extend vio_blocking to return the old state
      f01f4991
  32. 11 Jun, 2002 1 commit
    • unknown's avatar
      Big code cleanup/review before 4.0.2 release. · 70aa7424
      unknown authored
      (All commit emails since 4.0.1 checked)
      This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
      
      
      BUILD/SETUP.sh:
        Added -DPEDANTIC_SAFEMALLOC as standard debug option
      Docs/manual.texi:
        Changes for new version.
      client/mysql.cc:
        Fixed default value for rehash
        cleanup
      client/mysqladmin.c:
        Cleanup
      client/mysqlbinlog.cc:
        cleanup
      client/mysqldump.c:
        Cleanup
      client/mysqlmanager-pwgen.c:
        Cleanup
      client/mysqlmanagerc.c:
        Cleanup
      client/mysqltest.c:
        Cleanup
      dbug/dbug.c:
        Cleanup
      extra/resolve_stack_dump.c:
        Cleanup & Simple optimizations
      include/ft_global.h:
        Cleanup
      include/my_alloc.h:
        Cleanup
      include/my_global.h:
        Cleanup
      include/my_sys.h:
        Cleanup
      include/myisam.h:
        Cleanup
      libmysql/libmysql.c:
        Cleanup
      libmysql/manager.c:
        Cleanup
      myisam/ft_boolean_search.c:
        Cleanup
      myisam/ft_dump.c:
        Change strcpy -> strmov
      myisam/ft_eval.c:
        Cleanup
      myisam/ft_nlq_search.c:
        Cleanup
      myisam/ft_test1.c:
        strncpy -> strnmov
      myisam/ft_update.c:
        Cleanup
      myisam/mi_static.c:
        Cleanup
      myisam/mi_test2.c:
        Cleanup
      myisam/mi_write.c:
        Cleanup
      mysys/mf_fn_ext.c:
        Cleanup
      mysys/mf_iocache.c:
        Cleanup
      mysys/mf_iocache2.c:
        Cleanup
      mysys/my_getopt.c:
        Cleanup
      mysys/my_read.c:
        Cleanup
      mysys/my_thr_init.c:
        Cleanup
      mysys/queues.c:
        Cleanup
      mysys/safemalloc.c:
        Cleanup
      sql/field.cc:
        Indentation cleanups
      sql/ha_berkeley.cc:
        Indentation cleanups
      sql/ha_myisam.cc:
        Cleanup
      sql/item.h:
        Indentation cleanups
      sql/item_cmpfunc.cc:
        Indentation cleanups
      sql/item_create.cc:
        cleanup
      sql/item_func.cc:
        Cleanup
      sql/item_func.h:
        Indentation cleanups
      sql/item_strfunc.cc:
        Indentation cleanups
      sql/item_sum.cc:
        Indentation cleanups
      sql/item_timefunc.cc:
        Indentation cleanups
      sql/lock.cc:
        Indentation cleanups
      sql/log.cc:
        Cleanup
        strnmov -> strmake
      sql/log_event.cc:
        Cleanup + optimizations
        Fixed memory leak
        Added missing pthread_mutex_unlock()  (On error condition)
      sql/log_event.h:
        Indentation and comment cleanup
        Merged #ifdef's into common blocks for better readability
      sql/mini_client.cc:
        Indentation cleanup
      sql/mysql_priv.h:
        Cleanup
        Changed int function to bool
      sql/mysqld.cc:
        Indentation and comment cleanup
      sql/net_pkg.cc:
        Indentation cleanup
      sql/net_serv.cc:
        Changed int function -> bool
      sql/nt_servc.cc:
        Cleanup
      sql/opt_range.cc:
        Indentation cleanup
      sql/repl_failsafe.cc:
        Cleanup + simple optimization
        strnmov -> strmake
      sql/slave.cc:
        strnmov -> strmake
        Cleanups
      sql/slave.h:
        Cleanup
      sql/sql_acl.cc:
        Indentation and DBUG_PRINT cleanup
        Changed WITH MAX... to not use =
      sql/sql_base.cc:
        Indentation cleanup
      sql/sql_cache.cc:
        Indentation cleanup
      sql/sql_class.cc:
        Indentation cleanup
      sql/sql_class.h:
        Renamed some struct slots
      sql/sql_delete.cc:
        Indentation cleanup
      sql/sql_handler.cc:
        Indentation cleanup
      sql/sql_insert.cc:
        Use new slot names.
      sql/sql_lex.cc:
        Indentation cleanup
      sql/sql_lex.h:
        Indentation cleanup
      sql/sql_load.cc:
        Indentation cleanup
      sql/sql_parse.cc:
        Indentation cleanup
        Removed not used check from LOCK TABLES
      sql/sql_repl.cc:
        strnmov -> strmake
      sql/sql_repl.h:
        Removed test if file is included (We want to know if it's included twice to avoid this)
      sql/sql_select.cc:
        Indentation cleanup
      sql/sql_show.cc:
        Indentation cleanup
      sql/sql_string.cc:
        Indentation cleanup
      sql/sql_table.cc:
        Indentation cleanup
      sql/sql_union.cc:
        Use renamed struct slot
      sql/sql_update.cc:
        Indentation cleanup
      sql/sql_yacc.yy:
        Removed = after GRANT ... MAX_  to make the syntax uniform
      sql/table.cc:
        Indentation cleanup
      sql/table.h:
        Indentation cleanup
      sql/time.cc:
        Indentation cleanup
      sql/udf_example.cc:
        Indentation cleanup
      sql/unireg.cc:
        strnmov -> strmake
      tests/grant.pl:
        Added test for LOCK TABLES
      tools/mysqlmanager.c:
        Cleanup
        fopen() -> my_fopen()
      vio/viosocket.c:
        DBUG_PRINT cleanups
      vio/viosslfactories.c:
        Indentation cleanup
        Checking of results from malloc()
        Fixed possible memory leak
      BitKeeper/etc/ignore:
        Added scripts/mysql_secure_installation to the ignore list
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      70aa7424
  33. 03 Jun, 2002 1 commit
    • unknown's avatar
      Enable LOAD DATA LOCAL INFILE in mysql_test · a7798dfd
      unknown authored
      Added syntax for column comments (for compability with 4.1)
      Fix of ALTER TABLE RENAME
      
      
      Docs/manual.texi:
        Changelog
      client/mysqltest.c:
        Enable LOAD DATA LOCAL INFILE
      mysql-test/r/alter_table.result:
        Test of syntax for column comments
      mysql-test/r/func_math.result:
        Fixed test of new truncate
      mysql-test/t/alter_table.test:
        Test of syntax for column comments
      mysys/my_gethostbyname.c:
        Portability fix
      sql/hostname.cc:
        Fixed pointer bug
      sql/item_cmpfunc.cc:
        Optimizing LIKE code
      sql/item_cmpfunc.h:
        Cleanup
      sql/mysqld.cc:
        Avoid warning of duplicate calls to mysql_thread_init()
      sql/sql_analyse.cc:
        Removed warning from DBUG
      sql/sql_parse.cc:
        Avoid warning of duplicate calls to mysql_thread_init()
      sql/sql_table.cc:
        Fix of ALTER TABLE RENAME
      sql/sql_yacc.yy:
        Added syntax for field comments
      vio/test-sslserver.c:
        Cleanup
      a7798dfd
  34. 02 Jun, 2002 1 commit
    • unknown's avatar
      Fixed bug in wait_for_relay_log_space() · 499ebe54
      unknown authored
      Added checking of sem_init() in configure.
      
      
      client/mysqltest.c:
        Cleanup
      configure.in:
        Added checking of sem_init
      sql/hostname.cc:
        Portability fix
      sql/slave.cc:
        Fixed bug in wait_for_relay_log_space()
      499ebe54
  35. 29 May, 2002 1 commit
    • unknown's avatar
      Added useful exit error code for programs using my_getopt in case · a90b2f30
      unknown authored
      of an error in option handling. This can sometimes be useful in
      scripts.
      
      Changed some exit code names and corresponding numbers.
      
      Fixed a bug in mysqld.cc, in replication related options.
      
      Added a global flag in my_getopt, which can be set by any program
      that is using my_getopt, which tells whether the client should
      print the error message itself, or whether my_getopt should do it.
      The default is that my_getopt will print the error messages.
      
      
      client/mysql.cc:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqladmin.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlbinlog.cc:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlcheck.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqldump.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlimport.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlmanager-pwgen.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlmanagerc.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlshow.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqltest.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/thread_test.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      extra/my_print_defaults.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      extra/mysql_install.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      extra/perror.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      extra/resolve_stack_dump.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      extra/resolveip.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      include/my_getopt.h:
        Added global (flag) variable which tells my_getopt whether to
        print errors or just silently exit with proper error code.
      include/mysys_err.h:
        Changed exit code names and corresponding numbers.
      isam/isamchk.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      isam/pack_isam.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/ft_dump.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/ft_eval.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/ft_test1.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/mi_test1.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/myisamchk.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/myisampack.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      mysys/my_getopt.c:
        Changed exit code names and corresponding numbers. Added a flag
        for checking whether my_getopt should print the error message,
        or whether it should be printed by the client itself.
      sql/gen_lex_hash.cc:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      sql/mysqld.cc:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
        
        Fixed a bug when compiling in non-debug mode, some replication
        related options were not enabled while they should be. This made
        'make test' to fail in rpl000010 when --with-debug was not used.
      tools/mysqlmanager.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      a90b2f30
  36. 26 May, 2002 1 commit
  37. 22 May, 2002 2 commits
    • unknown's avatar
      my_getopt: · ebb98af7
      unknown authored
      - some minor bugfixes
      - made code more readable
      - support for printing GET_BOOL type options in my_print_variables(),
        value is either TRUE or FALSE
      
      
      client/mysqlbinlog.cc:
        Changes in my_getopt my_print_variables()
      client/mysqlmanager-pwgen.c:
        Changes in my_getopt my_print_variables()
      client/mysqlmanagerc.c:
        Changes in my_getopt my_print_variables()
      client/mysqltest.c:
        Changes in my_getopt my_print_variables()
      myisam/myisamchk.c:
        Changes in my_getopt my_print_variables()
      mysys/my_getopt.c:
        Made code more readable.
        Fixed bug in my_print_variables().
        Added printing for options whether they are enabled or not
        FALSE / TRUE. This also separates GET_BOOL type options from
        variables that can actually take values as an argument.
      ebb98af7
    • unknown's avatar
      Removed compiler warnings · c8e93fd7
      unknown authored
      myisam/mi_write.c:
        More DBUG_ statements
      c8e93fd7
  38. 21 May, 2002 1 commit
    • unknown's avatar
      Changed mysqlbinlog, mysqlmanager-pwgen, mysqlmanagerc, mysqltest, · bb07d5c0
      unknown authored
      thread_test and isamchk to use my_getopt.
      
      Fixed a bug in my_getopt.
      
      
      client/mysqlbinlog.cc:
        Changed mysqlbinlog.cc to use my_getopt.
      client/mysqlmanager-pwgen.c:
        Changed mysqlmanager-pwgen to use my_getopt.
      client/mysqlmanagerc.c:
        Changed mysqlmanagerc to use my_getopt.
      client/mysqltest.c:
        Changed mysqltest to use my_getopt.
      client/thread_test.c:
        Changed thread_test to use my_getopt.
      isam/isamchk.c:
        Changed isamchk to use my_getopt.
      mysys/my_getopt.c:
        Fixed a bug in printing options when option didn't have a comment.
        Added startup initializing and printing for 'GET_BOOL' type variables.
      sql/mysql_priv.h:
        Changed type.
      sql/mysqld.cc:
        Fixed a bug in --local-infile option.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      bb07d5c0