1. 05 Dec, 2002 1 commit
    • unknown's avatar
      Removed copying of parameters as this leads to memory leaks in embedded server. · 591b0585
      unknown authored
      Fixed 'not initialized' memory error.
      
      
      mysql-test/mysql-test-run.sh:
        Updates to be able to more easily use --valgrind
      mysql-test/r/alter_table.result:
        Added missing drop table
      mysql-test/t/alter_table.test:
        Added missing drop table
      sql/field.cc:
        Simple optimizations
      sql/ha_innodb.cc:
        Remove copying of parameters as this leads to memory leaks in MySQL.
        Should be instead fixed by, in embedded server, make a temporary copy of
        all parameters and free them on server-end
      sql/log.cc:
        Simple optimization
      sql/mysql_priv.h:
        Move external reference to struct to include file
      sql/mysqld.cc:
        Added safety asserts
      sql/sql_class.cc:
        Fixed non fatal 'not initialized memory reference error' in thread init
      sql/sql_udf.cc:
        Clear current_thd for global thread
      strings/strto.c:
        Simple optimization
      591b0585
  2. 04 Dec, 2002 9 commits
  3. 03 Dec, 2002 5 commits
    • unknown's avatar
      Security bug: password length check should be in check_user, not check_connections(), · e753fa4d
      unknown authored
      otherwise COM_CHANGE_USER is unprotected and can be used for both privilege escalation and buffer overrun
      
      
      e753fa4d
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.0 · 1fd17cce
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      1fd17cce
    • unknown's avatar
      row0sel.c: · 9b515ad0
      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
      9b515ad0
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.0 · 2d4e07f2
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      2d4e07f2
    • unknown's avatar
      Change of internal key_field=NULL handling to avoid error messages. · 80b143c1
      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
      80b143c1
  4. 02 Dec, 2002 6 commits
  5. 30 Nov, 2002 6 commits
  6. 29 Nov, 2002 5 commits
    • unknown's avatar
      Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 · fdc094f5
      unknown authored
      
      sql/sql_yacc.yy:
        Auto merged
      fdc094f5
    • unknown's avatar
      New multi-table-update code · 46536219
      unknown authored
      New (simpler) internal timestamp handling.
      More debuging to heap tables.
      Small cleanups to multi-table-delete
      false -> 0 and true -> 1  (We should use TRUE and FALSE)
      
      
      heap/_check.c:
        Added checking of rows
      heap/hp_delete.c:
        Extra debugging
      heap/hp_scan.c:
        Extra debugging
      heap/hp_update.c:
        Extra debugging
      heap/hp_write.c:
        Extra debugging
      include/my_base.h:
        Added option to disable row cache when using updates
      isam/extra.c:
        Added option to disable row cache when using updates
      myisam/mi_check.c:
        Comment cleanup
      myisam/mi_extra.c:
        Added option to disable row cache when using updates
      myisam/sort.c:
        Indentaion cleanups
      myisammrg/myrg_extra.c:
        Added option to disable row cache when using updates
      mysql-test/r/multi_update.result:
        Updated results
      mysql-test/t/multi_update.test:
        Cleanup up to only use table names t1, t2,...
      mysys/mf_iocache.c:
        Safety fix
      sql/item_cmpfunc.cc:
        change true-> 1 and false -> 0
      sql/mysql_priv.h:
        Cleaned up SQL_LIST handling
      sql/sql_base.cc:
        Fixed grant checking if SELECT tablename.*
      sql/sql_class.h:
        Cleaned up multi-table-update
      sql/sql_delete.cc:
        Fixed OPTION_SAFE_UPDATE checking in multi-table-delete.
        Fixed query-cache invalidation in multi-table-delete
      sql/sql_insert.cc:
        cleaned up timestamp handling
      sql/sql_olap.cc:
        false -> 0
      sql/sql_parse.cc:
        Optimized some list handling.
        Moved multi-table-update to sql_update.cc
      sql/sql_select.cc:
        More comments
        Fixed create_tmp_table for multi-table-update
      sql/sql_select.h:
        New prototypes
      sql/sql_union.cc:
        false -> 0
        Cleaned up timestamp handling
      sql/sql_update.cc:
        New multi-update-table code
      sql/sql_yacc.yy:
        false -> 0, true -> 1
        Optimized some list handling
      sql/table.h:
        Added union for temporary values.
        Made shared int to be able to store counters.
      sql/uniques.cc:
        Indentation cleanup
      46536219
    • unknown's avatar
      Merge akishkin@work.mysql.com:/home/bk/mysql-4.0 · 4514f0b0
      unknown authored
      into mysql.com:/home/walrus/bk/40
      
      
      4514f0b0
    • unknown's avatar
      improvement crash-me · 469e0b32
      unknown authored
      
      BitKeeper/etc/ignore:
        Added core.2430 to the ignore list
      sql-bench/crash-me.sh:
        1) restore #!@PERL@ that I (accidentally) deleted  last time
        2) comment order_by_remember_desc section
        3) rectify WEEK test. Now it returns "EURO" ,"USA", "error" (if it returns 
        wrong week number), or "no" (if this function isn't supported)
        4) merge 2 tests for noround() (func_extra_noround and ignoring_noround). 
         Now it returns yes/no/"syntax only"
        5) merge 2 tests for foreign key (foreign_key and foreign_key_syntax). Now it
         returns yes/no/"syntax only"
        6) correct misprint in crash-me help ( --db-start-cmd instead of --start-cmd)
      sql-bench/server-cfg.sh:
        Misprint correction (db_Sapdb ->db_sapdb)
      469e0b32
    • unknown's avatar
      ha_innodb.cc: · 7989f285
      unknown authored
        Make copies of all string-type start/up options in case C-sharp moves them around; remove the need to specify innodb_log_arch_dir in my.cnf, since it has no relevance anyway
      
      
      sql/ha_innodb.cc:
        Make copies of all string-type start/up options in case C-sharp moves them around; remove the need to specify innodb_log_arch_dir in my.cnf, since it has no relevance anyway
      7989f285
  7. 28 Nov, 2002 8 commits