1. 09 Jun, 2002 1 commit
  2. 08 Jun, 2002 3 commits
    • unknown's avatar
      removed unneeded table name pointer · 6a2eec80
      unknown authored
      transaction-live memory cleanup moved to ha_commit/ha_rollback
      fixed query cache validator to work correctly on systems that allocate unaligned dat
      
      
      sql/handler.cc:
        transaction-live memory cleanup moved to ha_commit/ha_rollback
      sql/sql_cache.cc:
        removed unneeded table name pointer
        fixed debug enter message
        fixed query cache validator to work correctly on systems that allocate unaligned data
      sql/sql_class.cc:
        removed unneeded table name pointer
      sql/sql_parse.cc:
        transaction-live memory cleanup moved to ha_commit/ha_rollback
      sql/table.h:
        removed unneeded table name pointer
      6a2eec80
    • unknown's avatar
      Added a lot of DBUG_xxx statements to be able to find replication bug. · 770aa9f2
      unknown authored
      Fixed critical bug on 64 bit systems.
      Cleanups
      
      
      BUILD/compile-solaris-sparc-purify:
        Added --debug option.
      sql/log_event.cc:
        Added DBUG_xxx statements.
        Cleanup
      sql/opt_range.h:
        Dummy fix to remove warnings in purify
      sql/repl_failsafe.cc:
        Cleanup
      sql/slave.cc:
        Added DBUG statements to be able to find bugs.
        Optimized code.
        Fixed critical bug on 64 bit systems.
      sql/sql_repl.cc:
        Added DBUG_xx statements.
      770aa9f2
    • unknown's avatar
      A bug fix and test case for a bug that appears in quereis where there · ec09d2e5
      unknown authored
      is a GROUP BY a column that is not NOT NULL and ORDER BY is done by
      another column.
      
      Even better fix would be to make a separate function for this.
      
      
      ec09d2e5
  3. 06 Jun, 2002 3 commits
  4. 05 Jun, 2002 2 commits
    • unknown's avatar
      removed init_count from IO_CACHE. · 03728196
      unknown authored
      Added missing mutex_unlock to slave replication code.
      
      
      include/my_sys.h:
        removed init_count from IO_CACHE.
        General cleanup.
      innobase/srv/srv0srv.c:
        Initailize slots to avoid purify warnings.
        Removed some compiler warnings.
      mysql-test/mysql-test-run.sh:
        Automatic start of slave under gdb
      mysys/mf_iocache.c:
        removed init_count
      sql/field.cc:
        Cleanup
      sql/log.cc:
        Cleanup
        added open_count variable.
      sql/log_event.cc:
        cleanup
        use is_prefix instead of memcmp()
      sql/repl_failsafe.cc:
        cleanup
      sql/slave.cc:
        cleanup
        use MYSQL_LOG->open_count instead of IO_CACHE->init_count
        Added missing mutex_unlock()
      sql/slave.h:
        cleanup
      sql/sql_class.h:
        cleanup
        Added open_count to MYSQL_LOGL
      sql/sql_parse.cc:
        removed compiler warning
      sql/sql_repl.cc:
        added DBUG_xxx
      sql/unireg.h:
        Added BIN_LOG_HEADER_SIZE
      03728196
    • unknown's avatar
      Fixed mysql_info() result when using INSERT DELAYED · 47c4352b
      unknown authored
      Docs/manual.texi:
        changelog
      47c4352b
  5. 04 Jun, 2002 2 commits
  6. 03 Jun, 2002 2 commits
    • 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
    • unknown's avatar
      A bug fix when for SELECT ... INTO OUTFILE .... · 70fa0e01
      unknown authored
      user has table privilege and global FILE privilege
      
      
      70fa0e01
  7. 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
  8. 01 Jun, 2002 1 commit
  9. 31 May, 2002 4 commits
    • unknown's avatar
      fixed 'load table from master' hang when host is empty · 169a4d92
      unknown authored
      added respective test case
      
      
      sql/slave.cc:
        fixed load table from master hang when host is empty
      169a4d92
    • unknown's avatar
      Portability fixes for SCO and HPUX · 0ceaf6d2
      unknown authored
      Change TRUNCATE(number) to truncate towards zero for negative numbers
      Fix NULL handling for DESCRIBE table_name
      
      
      Docs/manual.texi:
        Update of TRUNCATE() information
      configure.in:
        Fix for HPUX
      extra/resolveip.c:
        Fix for SCO
      include/my_net.h:
        Fix for HPUX
      libmysql/libmysql.c:
        Removed warning on HPUX 10.20
      mysql-test/r/func_math.result:
        Test of new TRUNCATE handling
      mysql-test/t/func_math.test:
        Test of new TRUNCATE handling
      mysys/my_gethostbyname.c:
        Portability fix
      sql/item_func.cc:
        Change TRUNCATE(number) to truncate towards zero for negative numbers
      sql/sql_show.cc:
        Fix NULL handling for DESCRIBE table_name
      0ceaf6d2
    • unknown's avatar
      Fixed a problem with --skip-networking. · 2c058d84
      unknown authored
      This fix should be merged into 4.0 and 4.1
      
      
      2c058d84
    • unknown's avatar
      Fixed bug: load table from master w/empty master would hang. · 0720fe59
      unknown authored
      Now it properly returns error.
      Added respective test case.
      
      
      sql/repl_failsafe.cc:
        fixed bug: load table from master w/ empty master would hang.
        Now it properly returns error.
      0720fe59
  10. 29 May, 2002 6 commits
    • unknown's avatar
      96a1daa6
    • unknown's avatar
      Fixed a bug. · b7529249
      unknown authored
      sql/slave.h:
        Fixed a bug in option handling.
      sql/sql_repl.h:
        Fixed a bug in option handling.
      b7529249
    • unknown's avatar
      Some fixes for user resources management · aea0ae80
      unknown authored
      aea0ae80
    • unknown's avatar
      Fixed a bug in make test, non-debug version. · 75d312bc
      unknown authored
      sql/slave.cc:
        Released some variables in non-debug version. These are needed
        in mysqld.cc my_getopt struct, which defines some options,
        which are used by mysql_test in a non-debug version.
      sql/sql_repl.cc:
        Released some variables in non-debug version. These are needed
        in mysqld.cc my_getopt struct, which defines some options,
        which are used by mysql_test in a non-debug version.
      75d312bc
    • 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
    • unknown's avatar
      ha_innobase.cc: · 336d94bc
      unknown authored
        Fix an assertion failure in ha_innobase.cc about line 302 when a user has used user level locks and closes a connection; this was reported by Jeremy Zawodny
      
      
      sql/ha_innobase.cc:
        Fix an assertion failure in ha_innobase.cc about line 302 when a user has used user level locks and closes a connection; this was reported by Jeremy Zawodny
      336d94bc
  11. 28 May, 2002 1 commit
    • unknown's avatar
      Small documentation change · c579f810
      unknown authored
      Docs/manual.texi:
        slave_read_timeout -> slave_net_timeout
      sql/mysqld.cc:
        Documented slave_net_timeout
      c579f810
  12. 27 May, 2002 1 commit
    • unknown's avatar
      Renamed stripp_sp -> strip_sp · 940a8a40
      unknown authored
      Remove end space from ENUM and SET strings
      
      
      mysql-test/t/type_enum.test:
        Test of end space in enum's
      Docs/manual.texi:
        Changelog
      include/my_sys.h:
        Renamed stripp_sp -> strip_sp
      mysql-test/r/type_enum.result:
        Test of end space in enums
      mysys/Makefile.am:
        change stripp_sp -> strip_sp
      mysys/mf_strip.c:
        change stripp_sp -> strip_sp
      sql/sql_db.cc:
        change stripp_sp -> strip_sp
      sql/sql_parse.cc:
        change stripp_sp -> strip_sp
        Remove end space from ENUM and SET strings
      940a8a40
  13. 25 May, 2002 1 commit
  14. 24 May, 2002 2 commits
    • unknown's avatar
      Fixed a bug with big result sets and UNION's · 11b652dd
      unknown authored
      BitKeeper/etc/ignore:
        Added mysys/getopt.c mysys/getopt1.c to the ignore list
      11b652dd
    • unknown's avatar
      Changed ft_dump, ft_eval, ft_test1, mi_test1, myisampack, gen_lex_hash, · 072e605c
      unknown authored
      mysqlmanager from using GNU getopt to use my_getopt.
      
      Changed some files that just included old getopt.h to include
      my_getopt.h now.
      
      Fixed a bug in my_print_help() in my_getopt.c.
      
      Made better documentation for option -G in mysql client.
      
      
      client/mysql.cc:
        Documented --named-commands better.
      myisam/ft_dump.c:
        Changed getopt to my_getopt.
      myisam/ft_eval.c:
        Changed getopt to my_getopt.
      myisam/ft_test1.c:
        Changed getopt to my_getopt.
      myisam/mi_check.c:
        getopt.h -> my_getopt.h
      myisam/mi_test1.c:
        Changed getopt to my_getopt.
      myisam/myisampack.c:
        Changed getopt to my_getopt.
      mysys/my_getopt.c:
        Fixed a bug when printing help for option that didn't have a
        description.
      sql/gen_lex_hash.cc:
        Changed getopt to my_getopt.
      tools/mysqlmanager.c:
        Changed getopt to my_getopt.
      vio/test-ssl.c:
        getopt.h -> my_getopt.h
      vio/test-sslclient.c:
        getopt.h -> my_getopt.h
      vio/test-sslserver.c:
        getopt.h -> my_getopt.h
      vio/viotest-ssl.c:
        getopt.h -> my_getopt.h
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      072e605c
  15. 22 May, 2002 1 commit
  16. 21 May, 2002 2 commits
    • 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
    • unknown's avatar
      Fixes for gcc 3.1 · a34e76c6
      unknown authored
      Fixed bug in new code for regexp LIKE NULL
      
      
      BUILD/SETUP.sh:
        Fixes for gcc 3.1
      BUILD/compile-solaris-sparc-debug:
        Fixes for gcc 3.1
      BUILD/compile-solaris-sparc-purify:
        Fixes for gcc 3.1
      BUILD/compile-solaris-sparc:
        Fixes for gcc 3.1
      Docs/manual.texi:
        Fixed typo
      include/violite.h:
        Fixes for gcc 3.1
      mysql-test/r/func_concat.result:
        Updated test results
      sql/item_cmpfunc.cc:
        Fixed bug in new code for regexp LIKE NULL
      a34e76c6
  17. 20 May, 2002 1 commit
    • unknown's avatar
      Updated assembler code from MySQL 4.0 (to make them work with gcc 3.0) · 3f8a7a58
      unknown authored
      Fixed memory overrun bug in glibc patch
      Updated french error messages
      
      
      Docs/glibc-2.2.5.patch:
        Fixed memory overrun bug in glibc patch
      sql/share/french/errmsg.txt:
        Updated french error messages (patch from Loic Le Loarer)
      strings/longlong2str-x86.s:
        Updated from MySQL 4.0 (to make them work with gcc 3.0)
      strings/strings-x86.s:
        Updated from MySQL 4.0 (to make them work with gcc 3.0)
      3f8a7a58
  18. 18 May, 2002 1 commit
  19. 17 May, 2002 2 commits
    • unknown's avatar
      Optimize LIKE with turbo-boyer-more algoritm · 387e77d1
      unknown authored
      Docs/manual.texi:
        Added info about LIKE optimization
      mysql-test/r/func_like.result:
        Test of new LIKE optimization
      mysql-test/t/func_like.test:
        Test of new LIKE optimization
      387e77d1
    • unknown's avatar
      Fix bug in CONCAT_WS() · c2504d86
      unknown authored
      Update of glibc patch from MySQL 4.0
      
      
      Docs/glibc-2.2.5.patch:
        Update of patch from MySQL 4.0
      Docs/manual.texi:
        ChangeLog
      sql/item_strfunc.cc:
        Fix bug in CONCAT_WS()
      sql/share/italian/errmsg.txt:
        Update of new error messages
      c2504d86
  20. 16 May, 2002 3 commits
    • unknown's avatar
      Fixed some compilation problems in last changeset · 66f426c0
      unknown authored
      Docs/manual.texi:
        Small changes regarind user resources
      client/mysqlbinlog.cc:
        Applied patch to support --database
      mysql-test/r/func_isnull.result:
        New test results
      mysql-test/r/join.result:
        New test results
      mysql-test/r/show_check.result:
        New test results
      mysql-test/r/type_datetime.result:
        New test results
      mysql-test/r/type_decimal.result:
        New test results
      mysql-test/r/type_float.result:
        New test results
      mysys/my_gethostbyname.c:
        Fixed type on last push
      mysys/my_pthread.c:
        Fixed type on last push
      sql/sql_select.cc:
        Fixed bug in LIMIT handling
      66f426c0
    • unknown's avatar
      New my_gethostbyname_r() handling · d2b95cd7
      unknown authored
      Changed some status variable names
      Fix bug in GRANT ... PASSWORD string
      
      
      Docs/manual.texi:
        Update of variable names
      include/my_net.h:
        New my_gethostbyname_r() handling
      include/my_pthread.h:
        New my_gethostbyname_r() handling
      libmysql/Makefile.shared:
        New my_gethostbyname_r() handling
      libmysql/libmysql.c:
        New my_gethostbyname_r() handling
      mysys/Makefile.am:
        New my_gethostbyname_r() handling
      mysys/my_pthread.c:
        New my_gethostbyname_r() handling
      mysys/my_thr_init.c:
        New my_gethostbyname_r() handling
      sql/hostname.cc:
        New my_gethostbyname_r() handling
      sql/mini_client.cc:
        New my_gethostbyname_r() handling
      sql/mysqld.cc:
        change some status variable names
      sql/sql_acl.cc:
        Fix bug in GRANT ... PASSWORD string
      d2b95cd7
    • unknown's avatar
      Fix bug in SELECT SQL_CALC_FOUND_ROWS · 9ef4edcc
      unknown authored
      Docs/manual.texi:
        Update of new GRANT options
      libmysql/manager.c:
        Use new my_gethostbyname_r() functions
      mysql-test/r/select_found.result:
        new test case
      mysql-test/t/select_found.test:
        new test case
      sql/mysqld.cc:
        Change names of some status variables
      9ef4edcc