1. 10 Dec, 2002 1 commit
    • unknown's avatar
      merge Ranger's patches to crash-me, add new tests ( DEFAULT VALUES ) · 89991c65
      unknown authored
      to crash-me 
      
      
      sql-bench/crash-me.sh:
        new tests:
            - INSERT with DEFAULT:
            - INSERT with empty value list:
            - Insert DEFAULT VALUES;
        -------
        -checking of reserved keywords (by courtesy of Ranger)
        --------
        - added "--suffix" option 
        - added description of "--config-file" to help section
        - fixed test for DIFFERENCE()
        - fixed small bug in safe_query_result (was s/,/,/ should s/,/./)
           (by courtesy of Ranger)
      sql-bench/server-cfg.sh:
        remove "KERNEL" and add "SAPDB" to sapdb version
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      89991c65
  2. 06 Dec, 2002 2 commits
  3. 05 Dec, 2002 7 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 23865c0e
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      23865c0e
    • unknown's avatar
      current_user() to return priv_user · a29ee100
      unknown authored
      a29ee100
    • unknown's avatar
    • unknown's avatar
      Copy arguments given to mysql_server_init() · fdb093fc
      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
      fdb093fc
    • unknown's avatar
      Merge with 3.23 · 5fdd9f87
      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
      5fdd9f87
    • 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
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 9d14d104
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      9d14d104
  4. 04 Dec, 2002 25 commits
  5. 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