1. 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
  2. 10 Jun, 2002 2 commits
  3. 09 Jun, 2002 8 commits
  4. 08 Jun, 2002 5 commits
    • unknown's avatar
      Merge abelkin@work.mysql.com:/home/bk/mysql-4.0 · a47f9028
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/mysql-4.0
      
      
      a47f9028
    • 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
    • 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
  5. 07 Jun, 2002 2 commits
  6. 06 Jun, 2002 5 commits
  7. 05 Jun, 2002 5 commits
    • unknown's avatar
      Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 · fe5504fd
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      fe5504fd
    • unknown's avatar
      Merge hundin.mysql.fi:/my/mysql-3.23 · 62aa4e9f
      unknown authored
      into hundin.mysql.fi:/my/bk/mysql-4.0
      
      
      Docs/manual.texi:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      62aa4e9f
    • unknown's avatar
      changelog · ab32dcd3
      unknown authored
      ab32dcd3
    • 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
  8. 04 Jun, 2002 5 commits
  9. 03 Jun, 2002 7 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 · ad4e6865
      unknown authored
      
      Docs/manual.texi:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      ad4e6865
    • 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
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.0 · 7b8bf925
      unknown authored
      into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0
      
      
      7b8bf925
    • unknown's avatar
      A bug fix when for SELECT ... INTO OUTFILE .... · 70fa0e01
      unknown authored
      user has table privilege and global FILE privilege
      
      
      70fa0e01
    • unknown's avatar
      mirrors.texi: · 4f6f22d0
      unknown authored
        Update mirror list
      
      
      Docs/mirrors.texi:
        Update mirror list
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      4f6f22d0
    • unknown's avatar
      Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 · bb0101f8
      unknown authored
      
      innobase/pars/pars0opt.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      bb0101f8
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.0 · 7cc7e2ed
      unknown authored
      into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0
      
      
      7cc7e2ed