1. 05 Dec, 2002 6 commits
    • unknown's avatar
      Merge with 4.0.6 · d04add3c
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      acinclude.m4:
        Auto merged
      configure.in:
        Auto merged
      heap/hp_delete.c:
        Auto merged
      heap/hp_scan.c:
        Auto merged
      include/my_base.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/mi_rnext_same.c:
        Auto merged
      myisam/sort.c:
        Auto merged
      mysql-test/r/alter_table.result:
        Auto merged
      mysql-test/r/distinct.result:
        Auto merged
      mysql-test/r/func_math.result:
        Auto merged
      mysql-test/r/group_by.result:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/t/group_by.test:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      mysys/hash.c:
        Auto merged
      sql/field.h:
        Auto merged
      sql/field_conv.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sql_analyse.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_udf.cc:
        Auto merged
      sql/structs.h:
        Auto merged
      sql/uniques.cc:
        Auto merged
      strings/strto.c:
        Auto merged
      vio/vio.c:
        Auto merged
      BitKeeper/triggers/post-commit:
        Add changeset to commit messages
      sql-bench/crash-me.sh:
        Use version from 4.0
      sql-bench/server-cfg.sh:
        Use version from 4.0
      d04add3c
    • unknown's avatar
    • unknown's avatar
      Copy arguments given to mysql_server_init() · 4631af66
      unknown authored
      Made keybuff_size longlong (To make show variables work similar on 32
      and 64 bit systems)
      Fixed some 'not initalized variable errors' in multi-table-update.
      Fixed memory leak in multi-table-update.
      Now all tests works under valgrind without any errors.
      
      
      libmysqld/lib_sql.cc:
        Copy arguments given to mysql_server_init()
      mysql-test/r/temp_table.result:
        Update test results (after merge form 3.23)
      sql/handler.cc:
        Made keybuff_size longlong
      sql/mysql_priv.h:
        Made keybuff_size longlong
      sql/mysqld.cc:
        Made keybuff_size longlong
      sql/set_var.cc:
        Made keybuff_size longlong
      sql/set_var.h:
        Made keybuff_size longlong
      sql/sql_select.cc:
        Simple cleanup
      sql/sql_select.h:
        Make TMP_TABLE_PARAM to be allocated through Sql_alloc
      sql/sql_update.cc:
        Fixed some 'not initalized variable errors' in multi-table-update.
        Fixed memory leak in multi-table-update
      4631af66
    • unknown's avatar
      Merge with 3.23 · 3815777b
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      configure.in:
        Auto merged
      BitKeeper/deleted/.del-global.h~e80d28157acfdcb5:
        Auto merged
      libmysql/password.c:
        Auto merged
      mysys/hash.c:
        Auto merged
      mysys/my_static.c:
        Auto merged
      mysys/my_static.h:
        Auto merged
      mysys/my_tempnam.c:
        Auto merged
      sql/sql_analyse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      support-files/mysql.server.sh:
        Auto merged
      mysql-test/t/temp_table.test:
        Added comment
      sql/mysqld.cc:
        Don't apply change from 3.23
      sql/sql_show.cc:
        Don't apply change from 3.23
      sql/structs.h:
        Don't apply change from 3.23
      3815777b
    • unknown's avatar
      Removed copying of parameters as this leads to memory leaks in embedded server. · 26a16b44
      unknown authored
      Fixed 'not initialized' memory error.
      
      
      mysql-test/mysql-test-run.sh:
        Updates to be able to more easily use --valgrind
      mysql-test/r/alter_table.result:
        Added missing drop table
      mysql-test/t/alter_table.test:
        Added missing drop table
      sql/field.cc:
        Simple optimizations
      sql/ha_innodb.cc:
        Remove copying of parameters as this leads to memory leaks in MySQL.
        Should be instead fixed by, in embedded server, make a temporary copy of
        all parameters and free them on server-end
      sql/log.cc:
        Simple optimization
      sql/mysql_priv.h:
        Move external reference to struct to include file
      sql/mysqld.cc:
        Added safety asserts
      sql/sql_class.cc:
        Fixed non fatal 'not initialized memory reference error' in thread init
      sql/sql_udf.cc:
        Clear current_thd for global thread
      strings/strto.c:
        Simple optimization
      26a16b44
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 48dd2efb
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      48dd2efb
  2. 04 Dec, 2002 25 commits
  3. 03 Dec, 2002 5 commits
    • unknown's avatar
      Security bug: password length check should be in check_user, not check_connections(), · e23becc5
      unknown authored
      otherwise COM_CHANGE_USER is unprotected and can be used for both privilege escalation and buffer overrun
      
      e23becc5
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.0 · b546fe3b
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      b546fe3b
    • unknown's avatar
      row0sel.c: · 2a6dcae8
      unknown authored
        Fix a hang introduced in 4.0.5 in INSERT INTO ... SELECT ... when binlogging is not on
      
      
      innobase/row/row0sel.c:
        Fix a hang introduced in 4.0.5 in INSERT INTO ... SELECT ... when binlogging is not on
      2a6dcae8
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.0 · 58dab902
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      58dab902
    • unknown's avatar
      Change of internal key_field=NULL handling to avoid error messages. · 47a3d6af
      unknown authored
      Optimized SELECT DISTINCT ... ORDER BY ... LIMIT
      Fixed reference to uninitalized variable
      
      
      mysql-test/r/distinct.result:
        Updated results for new tests
      mysql-test/r/func_math.result:
        Fixed test of RND()
      mysql-test/r/innodb.result:
        Updated results for new tests
      mysql-test/r/null.result:
        Updated results for new tests
      mysql-test/t/distinct.test:
        New distinct test
      mysql-test/t/func_math.test:
        Fixed test of RND()
      mysql-test/t/innodb.test:
        Test for bugs
      mysql-test/t/null.test:
        TEst for bugs
      sql/field.h:
        Change of NULL handling to avoid error messages
      sql/field_conv.cc:
        Change of NULL handling to avoid error messages
      sql/item.cc:
        Change of NULL handling to avoid error messages
      sql/item.h:
        Change of NULL handling to avoid error messages
      sql/item_cmpfunc.cc:
        Change of NULL handling to avoid error messages
      sql/item_func.cc:
        Change of NULL handling to avoid error messages
      sql/item_func.h:
        Cleaned up RND() handling
      sql/item_timefunc.cc:
        Change of NULL handling to avoid error messages
      sql/item_timefunc.h:
        Change of NULL handling to avoid error messages
      sql/opt_range.cc:
        Fixed bug in <=> NULL
      sql/password.c:
        Indentation cleanup
      sql/sql_base.cc:
        Change of NULL handling to avoid error messages
      sql/sql_class.cc:
        Fixed reference to uninitalized variable
      sql/sql_handler.cc:
        Change of NULL handling to avoid error messages
      sql/sql_select.cc:
        Change of NULL handling to avoid error messages
        Optimized SELECT DISTINCT ... ORDER BY ... LIMIT
      sql/sql_select.h:
        Change of NULL handling to avoid error messages
      sql/unireg.cc:
        Change of NULL handling to avoid error messages
      47a3d6af
  4. 02 Dec, 2002 4 commits